Skip to content

Commit 790c4b8

Browse files
committed
Rebase master, rerun clang format
1 parent 230e9b2 commit 790c4b8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Diff for: example/readFromString/readFromString.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
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

Diff for: src/lib_json/json_value.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,9 @@ LogicError::LogicError(String const& msg) : Exception(msg) {}
210210
JSONCPP_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
215217
JSONCPP_NORETURN void throwRuntimeError(String const& msg) { abort(); }
216218
JSONCPP_NORETURN void throwLogicError(String const& msg) { abort(); }

0 commit comments

Comments
 (0)