chiark / gitweb /
doc/concepts.tex: Fix missing superclass in a code example.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 2 Aug 2017 09:51:22 +0000 (10:51 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 8 Jun 2018 18:58:40 +0000 (19:58 +0100)
doc/concepts.tex

index 759153b5bc646007417372a3546577914c3ae667..f7283e4a6069d781f5eb35af81d79257a375fd55 100644 (file)
@@ -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]                                             \\