From fec0bdd93b7197b3069af787957f0d5d9383b73f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Art=C3=B6m=20Bakri=20Al-Sarmini?= <3sz3tt+git@gmail.com> Date: Wed, 8 Apr 2020 00:42:03 +0300 Subject: [PATCH] still fixing --- test/src/unit-allocator.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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