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/option.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asl/option.hpp') diff --git a/asl/option.hpp b/asl/option.hpp index 8deed69..b87a5ab 100644 --- a/asl/option.hpp +++ b/asl/option.hpp @@ -383,7 +383,7 @@ public: } else { - destruct(&m_payload); + destroy(&m_payload); construct_at(&m_payload, niche{}); } } -- cgit