From: Jose-Luis Blanco-Claraco Date: Mon, 21 Oct 2013 19:43:26 +0000 (+0200) Subject: Minimized the number of arguments required to workaround the MSVC2013 compiler bug. X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~3712^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=80e667b647615ef865e551c30effe46f03ff27f4;p=platform%2Fupstream%2Fopencv.git Minimized the number of arguments required to workaround the MSVC2013 compiler bug. --- diff --git a/modules/features2d/src/features2d_init.cpp b/modules/features2d/src/features2d_init.cpp index fb4a0ce..959c1ac 100644 --- a/modules/features2d/src/features2d_init.cpp +++ b/modules/features2d/src/features2d_init.cpp @@ -176,7 +176,7 @@ CV_INIT_ALGORITHM(DenseFeatureDetector, "Feature2D.Dense", obj.info()->addParam(obj, "varyImgBoundWithScale", obj.varyImgBoundWithScale)); CV_INIT_ALGORITHM(GridAdaptedFeatureDetector, "Feature2D.Grid", - obj.info()->addParam(obj, "detector", obj.detector, false, 0, 0, "Detector algorithm."); // Extra params added to avoid VS2013 fatal error in opencv2/core.hpp (decl. of addParam) + obj.info()->addParam(obj, "detector", obj.detector, false, 0, 0); // Extra params added to avoid VS2013 fatal error in opencv2/core.hpp (decl. of addParam) obj.info()->addParam(obj, "maxTotalKeypoints", obj.maxTotalKeypoints); obj.info()->addParam(obj, "gridRows", obj.gridRows); obj.info()->addParam(obj, "gridCols", obj.gridCols));