diff --git a/modules/core/include/opencv2/core/cvdef.h b/modules/core/include/opencv2/core/cvdef.h index 0e2c66b1f1..caa4a9e4c7 100644 --- a/modules/core/include/opencv2/core/cvdef.h +++ b/modules/core/include/opencv2/core/cvdef.h @@ -691,7 +691,7 @@ __CV_ENUM_FLAGS_BITWISE_XOR_EQ (EnumType, EnumType) # endif #endif #ifndef CV_CONSTEXPR -# define CV_CONSTEXPR const +# define CV_CONSTEXPR #endif // Integer types portatibility