Skip to content

Commit e34352e

Browse files
committed
Fix a typo.
1 parent c9d8cec commit e34352e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

talk/morelanguage/raii.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248
void observe(const T&);
249249
void modifyRef(T&);
250250
void modifyPtr(T*);
251-
void consumer(std::unique_ptr<T>);
251+
void consume(std::unique_ptr<T>);
252252
std::unique_ptr<T> pt{produce()}; // Receive ownership
253253
observe(*pt); // Keep ownership
254254
modifyRef(*pt); // Keep ownership

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