1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Fix _DEBUG/NDEBUG handling across modules (#26151)

This commit is contained in:
shyama7004
2025-02-11 21:56:00 +05:30
parent 1e013a07c4
commit 076bfa6431
5 changed files with 5 additions and 11 deletions
@@ -19,7 +19,7 @@
#include <opencv2/core/base.hpp>
#define GAPI_Assert CV_Assert
#if defined _DEBUG || defined CV_STATIC_ANALYSIS
#if !defined(NDEBUG) || defined(CV_STATIC_ANALYSIS)
# define GAPI_DbgAssert CV_DbgAssert
#else
# define GAPI_DbgAssert(expr) GAPI_DbgAssertNoOp(expr)