~mdw
/
sod
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
doc/concepts.tex: Fix missing superclass in a code example.
[sod]
/
doc
/
concepts.tex
diff --git
a/doc/concepts.tex
b/doc/concepts.tex
index
759153b
..
f7283e4
100644
(file)
--- a/
doc/concepts.tex
+++ b/
doc/concepts.tex
@@
-856,7
+856,7
@@
This simple protocol can be used, for example, to implement a reference
counting system, as follows.
\begin{prog}
[nick = ref] \\
- class ReferenceCountedObject
\{
\\ \ind
+ class ReferenceCountedObject
: SodObject \{
\\ \ind
unsigned nref = 1; \\-
void inc() \{ me@->ref.nref++; \} \\-
[role = around] \\