Commit 7e9b5d9e authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #12006 from mshabunin:static-debug-assert

parents 3d141280 fe806878
...@@ -456,7 +456,7 @@ configurations while CV_DbgAssert is only retained in the Debug configuration. ...@@ -456,7 +456,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) #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 */ /** replaced with CV_Assert(expr) in Debug configuration */
#ifdef _DEBUG #if defined _DEBUG || defined CV_STATIC_ANALYSIS
# define CV_DbgAssert(expr) CV_Assert(expr) # define CV_DbgAssert(expr) CV_Assert(expr)
#else #else
# define CV_DbgAssert(expr) # define CV_DbgAssert(expr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment