Skip to content

Commit c9d8cec

Browse files
committed
[NFC] Change numbering in exception code example.
1 parent 1518ad7 commit c9d8cec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

talk/morelanguage/exceptions.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,11 @@
188188
\begin{cppcode*}{gobble=2,firstnumber=11}
189189
int main() {
190190
try {
191-
C c5;
191+
C c4;
192192
g();
193193
cout << "done"; // not run
194194
} catch(const exception&) {
195-
// c1, c3 and c5 have been
195+
// c1, c3 and c4 have been
196196
// destructed
197197
}
198198
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy