@@ -55,7 +55,7 @@ void NavigationClient::set_mode(const Navigation::Mode mode, const ProtoStruct&
55
55
request.set_mode (viam::service::navigation::v1::Mode (mode));
56
56
*request.mutable_extra () = to_proto (extra);
57
57
})
58
- .invoke ([](auto & response ) {});
58
+ .invoke ([](auto &) {});
59
59
}
60
60
61
61
Navigation::LocationResponse NavigationClient::get_location (const ProtoStruct& extra) {
@@ -81,7 +81,7 @@ void NavigationClient::add_waypoint(const geo_point& location, const ProtoStruct
81
81
*request.mutable_location () = to_proto (location);
82
82
*request.mutable_extra () = to_proto (extra);
83
83
})
84
- .invoke ([](auto & response ) {});
84
+ .invoke ([](auto &) {});
85
85
}
86
86
87
87
void NavigationClient::remove_waypoint (const std::string id, const ProtoStruct& extra) {
@@ -90,7 +90,7 @@ void NavigationClient::remove_waypoint(const std::string id, const ProtoStruct&
90
90
*request.mutable_id () = id;
91
91
*request.mutable_extra () = to_proto (extra);
92
92
})
93
- .invoke ([](auto & response ) {});
93
+ .invoke ([](auto &) {});
94
94
}
95
95
96
96
std::vector<geo_geometry> NavigationClient::get_obstacles (const ProtoStruct& extra) {
@@ -107,7 +107,7 @@ std::vector<NavigationClient::Path> NavigationClient::get_paths(const ProtoStruc
107
107
108
108
NavigationClient::Properties NavigationClient::get_properties () {
109
109
return make_client_helper (this , *stub_, &StubType::GetProperties)
110
- .with ([&](auto & request ) {})
110
+ .with ([&](auto &) {})
111
111
.invoke ([](auto & response) { return Properties{MapType (response.map_type ())}; });
112
112
}
113
113
0 commit comments