diff --git a/test/src/unit-allocator.cpp b/test/src/unit-allocator.cpp index 60d2f44fa8..2edbc34a3f 100644 --- a/test/src/unit-allocator.cpp +++ b/test/src/unit-allocator.cpp @@ -71,6 +71,8 @@ static bool next_deallocate_fails = false; template struct my_allocator : std::allocator { + using std::allocator::allocator; + template void construct(T* p, Args&& ... args) {