summaryrefslogtreecommitdiff
path: root/asl/box.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/box.hpp
parentb2eddfabffeb78fc5b49f9c17d70175d2dfed2e0 (diff)
Implement move constructor for buffer
Diffstat (limited to 'asl/box.hpp')
-rw-r--r--asl/box.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/asl/box.hpp b/asl/box.hpp
index 198fada..491338f 100644
--- a/asl/box.hpp
+++ b/asl/box.hpp
@@ -58,7 +58,7 @@ public:
{
if (m_ptr != nullptr)
{
- destruct(m_ptr);
+ destroy(m_ptr);
m_alloc.dealloc(m_ptr, layout::of<T>());
m_ptr = nullptr;
}