Remove one more vestige of pre-C++11 library support

a327c86a52c3 missed this one.

Change-Id: Icbfc897b2f379641080dddc273b6279fc742f452
Reviewed-on: https://chromium-review.googlesource.com/727719
Reviewed-by: Leonard Mosescu <mosescu@chromium.org>
Commit-Queue: Mark Mentovai <mark@chromium.org>
This commit is contained in:
Mark Mentovai 2017-10-19 00:37:09 -04:00 committed by Commit Bot
parent c2cc76dc26
commit 025455e77a

View File

@ -83,16 +83,10 @@ struct AlignedAllocator {
return std::numeric_limits<size_type>::max() / sizeof(value_type);
}
#if CXX_LIBRARY_VERSION < 2011
void construct(pointer p, const T& val) {
new (reinterpret_cast<void*>(p)) T(val);
}
#else
template <class U, class... Args>
void construct(U* p, Args&&... args) {
new (reinterpret_cast<void*>(p)) U(std::forward<Args>(args)...);
}
#endif
template <class U>
void destroy(U* p) {