summaryrefslogtreecommitdiff
path: root/asl/option.hpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-01-01 19:18:19 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-01-01 19:18:19 +0100
commit22131693e1892c5477c998ab63bf476d152b17cb (patch)
tree8cd7fbf85aa7a24db3da3d2ac1a86ec6d4c4f0f9 /asl/option.hpp
parentb2eddfabffeb78fc5b49f9c17d70175d2dfed2e0 (diff)
Implement move constructor for buffer
Diffstat (limited to 'asl/option.hpp')
-rw-r--r--asl/option.hpp2
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{});
}
}