diff --git a/base/buffer_vector.hpp b/base/buffer_vector.hpp index 4991a74263..1680d0aba5 100644 --- a/base/buffer_vector.hpp +++ b/base/buffer_vector.hpp @@ -44,12 +44,12 @@ private: } #else template - std::enable_if::value, void> MoveStatic(buffer_vector & rhs) + std::enable_if_t::value, void> MoveStatic(buffer_vector & rhs) { memcpy(m_static, rhs.m_static, rhs.m_size*sizeof(T)); } template - std::enable_if::value, void> j MoveStatic(buffer_vector & rhs) + std::enable_if_t::value, void> MoveStatic(buffer_vector & rhs) { for (size_t i = 0; i < rhs.m_size; ++i) Swap(m_static[i], rhs.m_static[i]);