From: Vadim Pisarevsky Date: Thu, 16 Oct 2014 19:10:00 +0000 (+0400) Subject: trying to fix strange compiler bug X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~2882^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d36b546df8c7bca411d8f884a1657af75489f1ad;p=platform%2Fupstream%2Fopencv.git trying to fix strange compiler bug --- diff --git a/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h b/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h index a215c2b..82aab20 100644 --- a/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h +++ b/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h @@ -23,7 +23,7 @@ public: extractor_ = cv::ORB::create(); // BruteFroce matcher with Norm Hamming is the default matcher - matcher_ = cv::makePtr(cv::NORM_HAMMING, false); + matcher_ = cv::makePtr((int)cv::NORM_HAMMING, false); } virtual ~RobustMatcher();