JSONCPP_OSTRINGSTREAM
diff --git a/include/json/assertions.h b/include/json/assertions.h
index fbec7ae..9c5f8bc 100644
--- a/include/json/assertions.h
+++ b/include/json/assertions.h
@@ -25,7 +25,7 @@
# define JSON_FAIL_MESSAGE(message) \
{ \
- std::ostringstream oss; oss << message; \
+ JSONCPP_OSTRINGSTREAM oss; oss << message; \
Json::throwLogicError(oss.str()); \
abort(); \
}
@@ -38,7 +38,7 @@
// release builds we abort, for a core-dump or debugger.
# define JSON_FAIL_MESSAGE(message) \
{ \
- std::ostringstream oss; oss << message; \
+ JSONCPP_OSTRINGSTREAM oss; oss << message; \
assert(false && oss.str().c_str()); \
abort(); \
}