1
0
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:
Ilya Lavrenov
2014-04-10 17:19:02 +04:00
parent 6bfbcf02cb
commit 19d470749b
4 changed files with 29 additions and 4 deletions
+1 -1
View File
@@ -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};