From e34c27723a36f64f1418a408fb69a9ce3b300e50 Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Mon, 17 Jun 2024 17:43:44 +0200 Subject: [PATCH] Fix build on modern compilers --- extras/tests/Misc/custom_string.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/extras/tests/Misc/custom_string.hpp b/extras/tests/Misc/custom_string.hpp index cabd21b79..acc67521d 100644 --- a/extras/tests/Misc/custom_string.hpp +++ b/extras/tests/Misc/custom_string.hpp @@ -7,6 +7,5 @@ #include struct custom_char_traits : std::char_traits {}; -struct custom_allocator : std::allocator {}; -typedef std::basic_string - custom_string; + +typedef std::basic_string custom_string;