diff --git a/src/engine/plugins/match.cpp b/src/engine/plugins/match.cpp index 1efb156669..70cf1fc0f7 100644 --- a/src/engine/plugins/match.cpp +++ b/src/engine/plugins/match.cpp @@ -138,7 +138,7 @@ Status MatchPlugin::HandleRequest(const std::shared_ptr &maybe_radius) { + [&](const boost::optional &maybe_radius) { double in_radius = maybe_radius ? *maybe_radius : DEFAULT_GPS_PRECISION; return std::min(