diff --git a/test/src/unit-allocator.cpp b/test/src/unit-allocator.cpp index 4cac5872..67281a82 100644 --- a/test/src/unit-allocator.cpp +++ b/test/src/unit-allocator.cpp @@ -240,9 +240,14 @@ namespace template struct allocator_no_forward : std::allocator { - template + using std::allocator::allocator; + + template + allocator_no_forward(allocator_no_forward) {} + + template struct rebind { - typedef allocator_no_forward other; + using other = allocator_no_forward; }; template