mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 06:26:29 +08:00
Merge pull request #17018 from anton-potapov:ap/fix_control_may_reach_end_of_non_void_function_warning
This commit is contained in:
commit
499e20da4f
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user