Fix unused lambda capture warnings

This commit is contained in:
Patrick Niklaus
2018-02-02 11:59:30 +00:00
committed by Patrick Niklaus
parent f48dd665ad
commit 97d027a173
7 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ template <typename RTreeT, typename DataFacadeT> class GeospatialQuery
{
auto results = rtree.Nearest(
input_coordinate,
[this, approach, &input_coordinate, bearing, bearing_range, max_distance](
[this, approach, &input_coordinate, bearing, bearing_range](
const CandidateSegment &segment) {
auto use_direction =
boolPairAnd(CheckSegmentBearing(segment, bearing, bearing_range),