diff options
Diffstat (limited to 'asl/box.hpp')
-rw-r--r-- | asl/box.hpp | 2 |
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;
}
|