fixed opencv_flann (with flann 1.6) compile errors on Windows (VS2005 & VS2008)

pull/13383/head
Vadim Pisarevsky 14 years ago
parent c52ab82bbf
commit ca2433c212
  1. 2
      include/opencv2/opencv.hpp
  2. 2
      modules/flann/include/opencv2/flann/lsh_table.h

@ -45,7 +45,7 @@
#include "opencv2/core/core_c.h"
#include "opencv2/core/core.hpp"
#include "opencv2/flann/flann.hpp"
#include "opencv2/flann/miniflann.hpp"
#include "opencv2/imgproc/imgproc_c.h"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/video/video.hpp"

@ -210,7 +210,7 @@ public:
break;
case kBitsetHash:
// That means we can check the bitset for the presence of a key
if (key_bitset_.test(key)) return &buckets_space_.at(key);
if (key_bitset_.test(key)) return &buckets_space_.find(key)->second;
else return 0;
break;
case kHash:

Loading…
Cancel
Save