flann-lib / flann

Fast Library for Approximate Nearest Neighbors
http://people.cs.ubc.ca/~mariusm/flann
Other
2.25k stars 648 forks source link

Resolves unordered map conflict with opencv #382

Open ahmadhasan2k8 opened 6 years ago

ahmadhasan2k8 commented 6 years ago

This PR resolves the issue #214 It causes issues when using opencv and pcl together if we use the kdTree from pcl which uses flann. This is a very frequent case where keeping in mind the include order as this does not seem right. And USE_UNORDEREDMAP macro is a very generic name, if guarded with a FLANN prefix it makes sure that no collision happens with other libraries.