We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20564b3 commit aec261aCopy full SHA for aec261a
1 file changed
src/lib_json/json_value.cpp
@@ -168,11 +168,11 @@ RuntimeError::RuntimeError(std::string const& msg)
168
LogicError::LogicError(std::string const& msg)
169
: Exception(msg)
170
{}
171
-void throwRuntimeError(std::string const& msg)
+JSONCPP_NORETURN void throwRuntimeError(std::string const& msg)
172
{
173
throw RuntimeError(msg);
174
}
175
-void throwLogicError(std::string const& msg)
+JSONCPP_NORETURN void throwLogicError(std::string const& msg)
176
177
throw LogicError(msg);
178
0 commit comments