Skip to content

Commit ae94087

Browse files
author
Christopher Dawes
committed
Make the template defaults backward compatible
1 parent 4d2337d commit ae94087

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

include/json/config.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,8 @@
115115

116116
//We may want to have different presets for the default allocator and
117117
//string
118-
//#define JSONCPP_DEFAULT_CHAR_TRAITS = std::char_traits<char>
119-
//#define JSONCPP_DEFAULT_ALLOCATOR = std::allocator<char>
120-
#define JSONCPP_DEFAULT_CHAR_TRAITS
121-
#define JSONCPP_DEFAULT_ALLOCATOR
118+
#define JSONCPP_DEFAULT_CHAR_TRAITS = std::char_traits<char>
119+
#define JSONCPP_DEFAULT_ALLOCATOR = std::allocator<char>
122120

123121
namespace Json {
124122
typedef int Int;

0 commit comments

Comments
 (0)