Commit f1efd955 authored by Marius Muja's avatar Marius Muja

Fix to solve conflicts to standalone FLANN

parent 7795cd20
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <ostream> #include <ostream>
#include <typeinfo> #include <typeinfo>
namespace cdiggins namespace cvflann
{ {
namespace anyimpl namespace anyimpl
......
...@@ -45,6 +45,8 @@ typedef boost::dynamic_bitset<> DynamicBitset; ...@@ -45,6 +45,8 @@ typedef boost::dynamic_bitset<> DynamicBitset;
#include "dist.h" #include "dist.h"
namespace cvflann {
/** Class re-implementing the boost version of it /** Class re-implementing the boost version of it
* This helps not depending on boost, it also does not do the bound checks * This helps not depending on boost, it also does not do the bound checks
* and has a way to reset a block for speed * and has a way to reset a block for speed
...@@ -147,6 +149,8 @@ private: ...@@ -147,6 +149,8 @@ private:
static const unsigned int cell_bit_size_ = CHAR_BIT * sizeof(size_t); static const unsigned int cell_bit_size_ = CHAR_BIT * sizeof(size_t);
}; };
} // namespace cvflann
#endif #endif
#endif // OPENCV_FLANN_DYNAMIC_BITSET_H_ #endif // OPENCV_FLANN_DYNAMIC_BITSET_H_
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
namespace cvflann namespace cvflann
{ {
typedef cdiggins::any any;
typedef std::map<std::string, any> IndexParams; typedef std::map<std::string, any> IndexParams;
struct SearchParams : public IndexParams struct SearchParams : public IndexParams
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment