Trying to fix the remaining OSX warnings

This commit is contained in:
Vojtech Bubnik 2021-02-10 19:07:09 +01:00
parent 05a6cfeaea
commit 8049dd1f72
7 changed files with 27 additions and 6 deletions

View file

@ -195,8 +195,9 @@ private:
template<typename KDTreeIndirectType, typename PointType, typename FilterFn>
size_t find_closest_point(const KDTreeIndirectType &kdtree, const PointType &point, FilterFn filter)
{
using CoordType = typename KDTreeIndirectType::CoordType;
struct Visitor {
using CoordType = typename KDTreeIndirectType::CoordType;
const KDTreeIndirectType &kdtree;
const PointType &point;
const FilterFn filter;