File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 22#include < iostream>
33/* *
44 * \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:
77 * $g++ readFromString.cpp -ljsoncpp -std=c++11 -o readFromString
88 * $./readFromString
99 * colin
Original file line number Diff line number Diff line change @@ -210,7 +210,9 @@ LogicError::LogicError(String const& msg) : Exception(msg) {}
210210JSONCPP_NORETURN void throwRuntimeError (String const & msg) {
211211 throw RuntimeError (msg);
212212}
213- JSONCPP_NORETURN void throwLogicError (String const & msg) { throw LogicError (msg); }
213+ JSONCPP_NORETURN void throwLogicError (String const & msg) {
214+ throw LogicError (msg);
215+ }
214216#else // !JSON_USE_EXCEPTION
215217JSONCPP_NORETURN void throwRuntimeError (String const & msg) { abort (); }
216218JSONCPP_NORETURN void throwLogicError (String const & msg) { abort (); }
You can’t perform that action at this time.
0 commit comments