From 5f37af3f83e07bf4ada30df31ca385b5af00fabc Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Mon, 18 Aug 2025 19:44:51 +0100 Subject: [PATCH] Changed release() to destroy() to match create() --- examples/UniquePtrWithPool/Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/UniquePtrWithPool/Main.cpp b/examples/UniquePtrWithPool/Main.cpp index 1b267c48..2fc7e4bd 100644 --- a/examples/UniquePtrWithPool/Main.cpp +++ b/examples/UniquePtrWithPool/Main.cpp @@ -25,7 +25,7 @@ struct Deleter if (ptr) { std::cout << "Releasing S(" << ptr->a << ", " << ptr->b << ") back to pool." << std::endl; - pool->release(ptr); + pool->destroy(ptr); } }