Skip to content

Commit 6c8545d

Browse files
committed
clang format
1 parent 2deaf73 commit 6c8545d

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

src/viam/sdk/services/private/navigation_client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ using namespace viam::service::navigation::v1;
2121
NavigationClient::NavigationClient(std::string name, std::shared_ptr<grpc::Channel> channel)
2222
: Navigation(std::move(name)),
2323
stub_(service::navigation::v1::NavigationService::NewStub(channel)),
24-
channel_(std::move(channel)) {};
24+
channel_(std::move(channel)){};
2525

2626
Navigation::Mode NavigationClient::get_mode(const std::string name, const ProtoStruct& extra) {
2727
return make_client_helper(this, *stub_, &StubType::GetMode)

src/viam/sdk/services/private/navigation_client.hpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,18 @@ class NavigationClient : public Navigation {
2424
Mode get_mode(const std::string name, const ProtoStruct& extra) override;
2525
void set_mode(const std::string name, const Mode mode, const ProtoStruct& extra) override;
2626
LocationResponse get_location(const std::string name, const ProtoStruct& extra) override;
27-
std::unique_ptr<std::vector<Waypoint>> get_waypoints(const std::string name, const ProtoStruct& extra) override;
27+
std::unique_ptr<std::vector<Waypoint>> get_waypoints(const std::string name,
28+
const ProtoStruct& extra) override;
2829
void add_waypoint(const std::string name,
2930
const GeoPoint& location,
3031
const ProtoStruct& extra) override;
3132
void remove_waypoint(const std::string name,
3233
const std::string id,
3334
const ProtoStruct& extra) override;
3435
std::unique_ptr<std::vector<GeoGeometry>> get_obstacles(const std::string name,
35-
const ProtoStruct& extra) override;
36-
std::unique_ptr<std::vector<Path>> get_paths(const std::string name, const ProtoStruct& extra) override;
36+
const ProtoStruct& extra) override;
37+
std::unique_ptr<std::vector<Path>> get_paths(const std::string name,
38+
const ProtoStruct& extra) override;
3739
MapType get_properties(const std::string name) override;
3840
ProtoStruct do_command(const ProtoStruct& command) override;
3941

src/viam/sdk/services/private/navigation_server.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ class NavigationServer : public ResourceServer,
2626
public:
2727
using interface_type = Navigation;
2828
using service_type = service::navigation::v1::NavigationService;
29-
explicit NavigationServer(std::shared_ptr<ResourceManager> manager) : ResourceServer(std::move(manager)){}
29+
explicit NavigationServer(std::shared_ptr<ResourceManager> manager)
30+
: ResourceServer(std::move(manager)) {}
3031

3132
::grpc::Status GetMode(::grpc::ServerContext* context,
3233
const GetModeRequest* request,

0 commit comments

Comments
 (0)