File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 2
2
#include < iostream>
3
3
/* *
4
4
* \brief Parse a raw string into Value object using the CharReaderBuilder
5
- * class, or the legacy Reader class.
6
- * Example Usage:
5
+ * class, or the legacy Reader class.
6
+ * Example Usage:
7
7
* $g++ readFromString.cpp -ljsoncpp -std=c++11 -o readFromString
8
8
* $./readFromString
9
9
* colin
Original file line number Diff line number Diff line change @@ -210,7 +210,9 @@ LogicError::LogicError(String const& msg) : Exception(msg) {}
210
210
JSONCPP_NORETURN void throwRuntimeError (String const & msg) {
211
211
throw RuntimeError (msg);
212
212
}
213
- JSONCPP_NORETURN void throwLogicError (String const & msg) { throw LogicError (msg); }
213
+ JSONCPP_NORETURN void throwLogicError (String const & msg) {
214
+ throw LogicError (msg);
215
+ }
214
216
#else // !JSON_USE_EXCEPTION
215
217
JSONCPP_NORETURN void throwRuntimeError (String const & msg) { abort (); }
216
218
JSONCPP_NORETURN void throwLogicError (String const & msg) { abort (); }
You can’t perform that action at this time.
0 commit comments