Merge pull request #17018 from anton-potapov:ap/fix_control_may_reach_end_of_non_void_function_warning

This commit is contained in:
Alexander Alekhin 2020-04-08 16:46:34 +00:00
commit 499e20da4f

View File

@ -20,7 +20,7 @@
namespace detail
{
inline void assert_abort(const char* str, int line, const char* file, const char* func)
[[noreturn]] inline void assert_abort(const char* str, int line, const char* file, const char* func)
{
std::stringstream ss;
ss << file << ":" << line << ": Assertion " << str << " in function " << func << " failed\n";