From: LeonidBeynenson Date: Wed, 6 Feb 2013 11:31:51 +0000 (+0400) Subject: Try to fix Mac compilation issue. X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~1314^2~1471^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50cd5d9ce74e10c574dd747baa77cc3d8b46897c;p=platform%2Fupstream%2Fopencv.git Try to fix Mac compilation issue. --- diff --git a/modules/features2d/src/features2d_init.cpp b/modules/features2d/src/features2d_init.cpp index a50b089..2554396 100644 --- a/modules/features2d/src/features2d_init.cpp +++ b/modules/features2d/src/features2d_init.cpp @@ -134,7 +134,7 @@ CV_INIT_ALGORITHM(SimpleBlobDetector, "Feature2D.SimpleBlob", obj.info()->addParam(obj, "thresholdStep", obj.params.thresholdStep); obj.info()->addParam(obj, "minThreshold", obj.params.minThreshold); obj.info()->addParam(obj, "maxThreshold", obj.params.maxThreshold); - obj.info()->addParam(obj, "minRepeatability", obj.params.minRepeatability); + obj.info()->addParam_(obj, "minRepeatability", ParamType::type, &obj.params.minRepeatability, false, 0, 0); obj.info()->addParam(obj, "minDistBetweenBlobs", obj.params.minDistBetweenBlobs); obj.info()->addParam(obj, "filterByColor", obj.params.filterByColor); obj.info()->addParam(obj, "blobColor", obj.params.blobColor);