Index: test/support/test_allocator.h =================================================================== --- test/support/test_allocator.h +++ test/support/test_allocator.h @@ -88,10 +88,7 @@ {::new(static_cast(p)) T(std::forward(val));} #endif void destroy(pointer p) - { - p->~T(); - ((void)p); // Prevent MSVC's spurious unused warning - } + {p->~T();} friend bool operator==(const test_allocator& x, const test_allocator& y) {return x.data_ == y.data_;} friend bool operator!=(const test_allocator& x, const test_allocator& y) @@ -291,10 +288,7 @@ template void destroy(U* p) - { - p->~U(); - ((void)p); // Prevent MSVC's spurious unused warning - } + { p->~U(); } }; template