mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-20 22:30:27 +08:00
convert JSONCPP_STRING etc from macros to typedefs
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
|
||||
#define JSON_FAIL_MESSAGE(message) \
|
||||
{ \
|
||||
JSONCPP_OSTRINGSTREAM oss; \
|
||||
OStringStream oss; \
|
||||
oss << message; \
|
||||
Json::throwLogicError(oss.str()); \
|
||||
abort(); \
|
||||
@@ -43,7 +43,7 @@
|
||||
// release builds we abort, for a core-dump or debugger.
|
||||
#define JSON_FAIL_MESSAGE(message) \
|
||||
{ \
|
||||
JSONCPP_OSTRINGSTREAM oss; \
|
||||
OStringStream oss; \
|
||||
oss << message; \
|
||||
assert(false && oss.str().c_str()); \
|
||||
abort(); \
|
||||
|
Reference in New Issue
Block a user