chiark
/
gitweb
/
~mdw
/
sod
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7646dc4
)
doc/concepts.tex: Fix missing superclass in a code example.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 2 Aug 2017 09:51:22 +0000
(10:51 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 8 Jun 2018 18:58:40 +0000
(19:58 +0100)
doc/concepts.tex
patch
|
blob
|
blame
|
history
diff --git
a/doc/concepts.tex
b/doc/concepts.tex
index 759153b5bc646007417372a3546577914c3ae667..f7283e4a6069d781f5eb35af81d79257a375fd55 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] \\
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] \\
unsigned nref = 1; \\-
void inc() \{ me@->ref.nref++; \} \\-
[role = around] \\