Fix build when nanoflann is disabled

@nick.laurenson could you review this small fix ? Bug introduced by !14 (merged) yesterday

Merge request reports

Loading