trying to fix strange compiler bug
authorVadim Pisarevsky <vadim.pisarevsky@gmail.com>
Thu, 16 Oct 2014 19:10:00 +0000 (23:10 +0400)
committerVadim Pisarevsky <vadim.pisarevsky@gmail.com>
Fri, 17 Oct 2014 10:56:58 +0000 (14:56 +0400)
samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h

index a215c2b..82aab20 100644 (file)
@@ -23,7 +23,7 @@ public:
     extractor_ = cv::ORB::create();
 
     // BruteFroce matcher with Norm Hamming is the default matcher
-    matcher_ = cv::makePtr<cv::BFMatcher>(cv::NORM_HAMMING, false);
+    matcher_ = cv::makePtr<cv::BFMatcher>((int)cv::NORM_HAMMING, false);
 
   }
   virtual ~RobustMatcher();