Skip to content

Commit

Permalink
Fix build on modern compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanchon committed Jun 18, 2024
1 parent b23ff65 commit e34c277
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions extras/tests/Misc/custom_string.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit e34c277

Please sign in to comment.