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