Fix build on modern compilers

This commit is contained in:
Benoit Blanchon
2024-06-17 17:43:44 +02:00
parent b23ff65b99
commit e34c27723a

View File

@ -7,6 +7,5 @@
#include <string>
struct custom_char_traits : std::char_traits<char> {};
struct custom_allocator : std::allocator<char> {};
typedef std::basic_string<char, custom_char_traits, custom_allocator>
custom_string;
typedef std::basic_string<char, custom_char_traits> custom_string;