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_); }