From 22131693e1892c5477c998ab63bf476d152b17cb Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Wed, 1 Jan 2025 19:18:19 +0100 Subject: Implement move constructor for buffer --- asl/box.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asl/box.hpp') diff --git a/asl/box.hpp b/asl/box.hpp index 198fada..491338f 100644 --- a/asl/box.hpp +++ b/asl/box.hpp @@ -58,7 +58,7 @@ public: { if (m_ptr != nullptr) { - destruct(m_ptr); + destroy(m_ptr); m_alloc.dealloc(m_ptr, layout::of()); m_ptr = nullptr; } -- cgit