From f2cc84a23c64b8a73c9b72b34799d0854d7e0787 Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Fri, 17 Dec 2021 01:36:17 -0500 Subject: [PATCH] Correct example in documentation --- doc/smart_ptr/allocate_unique.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/smart_ptr/allocate_unique.adoc b/doc/smart_ptr/allocate_unique.adoc index 0b6f173..6666a6d 100644 --- a/doc/smart_ptr/allocate_unique.adoc +++ b/doc/smart_ptr/allocate_unique.adoc @@ -284,7 +284,7 @@ template * {blank} + Returns:: The allocator pointer to the allocation. -Example:: `auto r = boost::get_allocator_ptr(p.release());` +Example:: `auto r = boost::get_allocator_ptr(p);` ## Deleter