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/option.hpp | |
parent | b2eddfabffeb78fc5b49f9c17d70175d2dfed2e0 (diff) |
Implement move constructor for buffer
Diffstat (limited to 'asl/option.hpp')
-rw-r--r-- | asl/option.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<T>(&m_payload, niche{});
}
}
|