From d36b546df8c7bca411d8f884a1657af75489f1ad Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Thu, 16 Oct 2014 23:10:00 +0400 Subject: [PATCH] trying to fix strange compiler bug --- .../calib3d/real_time_pose_estimation/src/RobustMatcher.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 a215c2b67b..82aab2008e 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();