mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 22:44:02 +08:00
core: fix merge from 3.4
`CV_ErrorNoReturn` should not be used in OpenCV
This commit is contained in:
parent
dbed39a931
commit
71009c9b4d
@ -390,8 +390,6 @@ CV_EXPORTS CV_NORETURN void error(int _code, const String& _err, const char* _fu
|
||||
#define CV_Error(...) do { abort(); } while (0)
|
||||
#define CV_Error_( code, args ) do { cv::format args; abort(); } while (0)
|
||||
#define CV_Assert( expr ) do { if (!(expr)) abort(); } while (0)
|
||||
#define CV_ErrorNoReturn CV_Error
|
||||
#define CV_ErrorNoReturn_ CV_Error_
|
||||
|
||||
#else // CV_STATIC_ANALYSIS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user