Merge pull request #12744 from alalek:issue_12736

pull/12753/head
Alexander Alekhin 7 years ago
commit c716e374c1
  1. 2
      modules/core/include/opencv2/core/base.hpp

@ -415,6 +415,8 @@ CV_INLINE CV_NORETURN void errorNoReturn(int _code, const String& _err, const ch
#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…
Cancel
Save