diff --git a/src/lib_json/json_value.cpp b/src/lib_json/json_value.cpp index 4a77d00..018b9cd 100644 --- a/src/lib_json/json_value.cpp +++ b/src/lib_json/json_value.cpp @@ -168,11 +168,11 @@ RuntimeError::RuntimeError(std::string const& msg) LogicError::LogicError(std::string const& msg) : Exception(msg) {} -void throwRuntimeError(std::string const& msg) +JSONCPP_NORETURN void throwRuntimeError(std::string const& msg) { throw RuntimeError(msg); } -void throwLogicError(std::string const& msg) +JSONCPP_NORETURN void throwLogicError(std::string const& msg) { throw LogicError(msg); }