Enable debug assertions for static analysis builds

pull/12006/head
Maksim Shabunin 6 years ago
parent 6c4f618db5
commit fe806878be
  1. 2
      modules/core/include/opencv2/core/base.hpp

@ -487,7 +487,7 @@ configurations while CV_DbgAssert is only retained in the Debug configuration.
#define CV_Assert(...) do { CVAUX_CONCAT(CV_Assert_, CV_VA_NUM_ARGS(__VA_ARGS__)) (__VA_ARGS__); } while(0)
/** replaced with CV_Assert(expr) in Debug configuration */
#ifdef _DEBUG
#if defined _DEBUG || defined CV_STATIC_ANALYSIS
# define CV_DbgAssert(expr) CV_Assert(expr)
#else
# define CV_DbgAssert(expr)

Loading…
Cancel
Save