Fix to solve conflicts to standalone FLANN

This commit is contained in:
Marius Muja 2011-12-12 09:39:02 +00:00
parent 7795cd200f
commit f1efd955b4
3 changed files with 5 additions and 2 deletions

View File

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

View File

@ -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_

View File

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