Fix to solve conflicts to standalone FLANN

pull/13383/head
Marius Muja 13 years ago
parent 7795cd200f
commit f1efd955b4
  1. 2
      modules/flann/include/opencv2/flann/any.h
  2. 4
      modules/flann/include/opencv2/flann/dynamic_bitset.h
  3. 1
      modules/flann/include/opencv2/flann/params.h

@ -16,7 +16,7 @@
#include <ostream>
#include <typeinfo>
namespace cdiggins
namespace cvflann
{
namespace anyimpl

@ -45,6 +45,8 @@ typedef boost::dynamic_bitset<> DynamicBitset;
#include "dist.h"
namespace cvflann {
/** Class re-implementing the boost version of it
* This helps not depending on boost, it also does not do the bound checks
* and has a way to reset a block for speed
@ -147,6 +149,8 @@ private:
static const unsigned int cell_bit_size_ = CHAR_BIT * sizeof(size_t);
};
} // namespace cvflann
#endif
#endif // OPENCV_FLANN_DYNAMIC_BITSET_H_

@ -39,7 +39,6 @@
namespace cvflann
{
typedef cdiggins::any any;
typedef std::map<std::string, any> IndexParams;
struct SearchParams : public IndexParams

Loading…
Cancel
Save