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/maybe_uninit.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asl/maybe_uninit.hpp') diff --git a/asl/maybe_uninit.hpp b/asl/maybe_uninit.hpp index cedd96f..e59cfe0 100644 --- a/asl/maybe_uninit.hpp +++ b/asl/maybe_uninit.hpp @@ -53,7 +53,7 @@ public: // @Safety Must be called only when in initialized state. constexpr void uninit_unsafe() & { - destruct(init_ptr_unsafe()); + destroy(init_ptr_unsafe()); } }; -- cgit