mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-09-25 14:30:56 +02:00
Fix build on modern compilers
This commit is contained in:
@@ -7,6 +7,5 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
struct custom_char_traits : std::char_traits<char> {};
|
struct custom_char_traits : std::char_traits<char> {};
|
||||||
struct custom_allocator : std::allocator<char> {};
|
|
||||||
typedef std::basic_string<char, custom_char_traits, custom_allocator>
|
typedef std::basic_string<char, custom_char_traits> custom_string;
|
||||||
custom_string;
|
|
||||||
|
Reference in New Issue
Block a user