diff --git a/util/stdlib/aligned_allocator.h b/util/stdlib/aligned_allocator.h index a5605907..c3beb741 100644 --- a/util/stdlib/aligned_allocator.h +++ b/util/stdlib/aligned_allocator.h @@ -83,16 +83,10 @@ struct AlignedAllocator { return std::numeric_limits::max() / sizeof(value_type); } -#if CXX_LIBRARY_VERSION < 2011 - void construct(pointer p, const T& val) { - new (reinterpret_cast(p)) T(val); - } -#else template void construct(U* p, Args&&... args) { new (reinterpret_cast(p)) U(std::forward(args)...); } -#endif template void destroy(U* p) {