mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 22:44:02 +08:00
GAPI: Fix [-Wreturn-type] warning on standalone mac build
- added [[noreturn]] to standalone version of GAPI_Assert
This commit is contained in:
parent
31ec9b2aa7
commit
676d1dfd5b
@ -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