allocators

v1
Brett 2024-02-29 15:07:56 -05:00
parent 20ceffd64a
commit 148768d690
1 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@
#include <iterator>
#include <blt/std/memory_util.h>
#include <blt/std/allocator.h>
#include <blt/compatibility.h>
#include "ranges.h"
#include <stdexcept>
@ -215,7 +216,7 @@ namespace blt
move.buffer_ = nullptr;
}
constexpr ~vector()
BLT_CPP20_CONSTEXPR ~vector()
{
allocator.deallocate(buffer_, capacity_);
}