Revert "Fix capture"

This reverts commit 4f81e31d63.
This commit is contained in:
Patrick Niklaus 2016-12-20 23:34:23 +00:00 committed by Daniel Patterson
parent cc14fb8bff
commit f40b34af9d

View File

@ -152,7 +152,7 @@ Status MatchPlugin::HandleRequest(const std::shared_ptr<datafacade::BaseDataFaca
std::transform(parameters.radiuses.begin(), std::transform(parameters.radiuses.begin(),
parameters.radiuses.end(), parameters.radiuses.end(),
search_radiuses.begin(), search_radiuses.begin(),
[&](const boost::optional<double> &maybe_radius) { [](const boost::optional<double> &maybe_radius) {
double in_radius = maybe_radius ? *maybe_radius : DEFAULT_GPS_PRECISION; double in_radius = maybe_radius ? *maybe_radius : DEFAULT_GPS_PRECISION;
return std::min( return std::min(