From baaa2a4d0ffe210b32405e76fc007c46ecdc33ff Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Thu, 21 Mar 2019 14:09:29 +0100 Subject: [PATCH] :checkered_flag: trying to use constructors from std::allocator #1536 --- test/src/unit-allocator.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/src/unit-allocator.cpp b/test/src/unit-allocator.cpp index 60d2f44f..2edbc34a 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) {