From 148768d6903884feb92066f316915f6ebf97f464 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Thu, 29 Feb 2024 15:07:56 -0500 Subject: [PATCH] allocators --- include/blt/std/vector.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/blt/std/vector.h b/include/blt/std/vector.h index ca7d583..3318fe7 100644 --- a/include/blt/std/vector.h +++ b/include/blt/std/vector.h @@ -22,6 +22,7 @@ #include #include #include +#include #include "ranges.h" #include @@ -215,7 +216,7 @@ namespace blt move.buffer_ = nullptr; } - constexpr ~vector() + BLT_CPP20_CONSTEXPR ~vector() { allocator.deallocate(buffer_, capacity_); }