diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-01-01 19:18:19 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-01-01 19:18:19 +0100 |
commit | 22131693e1892c5477c998ab63bf476d152b17cb (patch) | |
tree | 8cd7fbf85aa7a24db3da3d2ac1a86ec6d4c4f0f9 /asl/maybe_uninit.hpp | |
parent | b2eddfabffeb78fc5b49f9c17d70175d2dfed2e0 (diff) |
Implement move constructor for buffer
Diffstat (limited to 'asl/maybe_uninit.hpp')
-rw-r--r-- | asl/maybe_uninit.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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());
}
};
|