From: Mark Wooding Date: Wed, 2 Aug 2017 09:51:22 +0000 (+0100) Subject: doc/concepts.tex: Fix missing superclass in a code example. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/sod/commitdiff_plain/d7451ac3b671b96443cfc0ffb4842f03bcd1cdfe doc/concepts.tex: Fix missing superclass in a code example. --- diff --git a/doc/concepts.tex b/doc/concepts.tex index 759153b..f7283e4 100644 --- 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] \\