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

pull/17026/head
Alexander Alekhin 5 years ago
commit 499e20da4f
  1. 2
      modules/gapi/include/opencv2/gapi/own/assert.hpp

@ -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…
Cancel
Save