diff --git a/src/runtime/buffer.h b/src/runtime/buffer.h index 926018d19334..c3d4ecb72ebf 100644 --- a/src/runtime/buffer.h +++ b/src/runtime/buffer.h @@ -27,7 +27,7 @@ class buffer { void free_memory() { if (m_buffer != reinterpret_cast(m_initial_buffer)) - #if __cplusplus >= 201402L + #if __cpp_sized_deallocation >= 201309L operator delete[](reinterpret_cast(m_buffer), sizeof(T) * m_capacity); #else delete[] reinterpret_cast(m_buffer);