mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
added macro for denoting region for suppression of "Wdeprecated-declarations"
This commit is contained in:
@@ -466,7 +466,7 @@ cv::Moments cv::moments( InputArray _src, bool binary )
|
||||
if( cn > 1 )
|
||||
CV_Error( CV_StsBadArg, "Invalid image type (must be single-channel)" );
|
||||
|
||||
#if (IPP_VERSION_X100 >= 801)
|
||||
#if IPP_VERSION_X100 >= 801 && !defined HAVE_IPP_ICV_ONLY
|
||||
if (!binary)
|
||||
{
|
||||
IppiSize roi = {mat.cols, mat.rows};
|
||||
|
||||
Reference in New Issue
Block a user