Skip to content

Commit 350f0ff

Browse files
committed
linter fixes
1 parent 5a3d47c commit 350f0ff

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/viam/examples/modules/complex/gizmo/api.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Gizmo::Gizmo(std::string name) : Component(std::move(name)) {};
2929
/* Gizmo server methods */
3030

3131
GizmoServer::GizmoServer(std::shared_ptr<ResourceManager> manager)
32-
: ResourceServer(std::move(manager)) {};
32+
: ResourceServer(std::move(manager)) {}
3333

3434
grpc::Status GizmoServer::DoOne(grpc::ServerContext* context,
3535
const DoOneRequest* request,

src/viam/examples/modules/complex/summation/api.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ API API::traits<Summation>::api() {
2424
return {"viam", "service", "summation"};
2525
}
2626

27-
Summation::Summation(std::string name) : Service(std::move(name)) {};
27+
Summation::Summation(std::string name) : Service(std::move(name)) {}
2828

2929
/* Summation server methods */
3030

3131
SummationServer::SummationServer(std::shared_ptr<ResourceManager> manager)
32-
: ResourceServer(std::move(manager)) {};
32+
: ResourceServer(std::move(manager)) {}
3333

3434
grpc::Status SummationServer::Sum(grpc::ServerContext* context,
3535
const SumRequest* request,

src/viam/sdk/components/private/camera_client.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class CameraClient : public Camera {
5353
// avoid use of this constructor outside of tests.
5454
CameraClient(std::string name,
5555
std::unique_ptr<viam::component::camera::v1::CameraService::StubInterface> stub)
56-
: Camera(std::move(name)), stub_(std::move(stub)) {};
56+
: Camera(std::move(name)), stub_(std::move(stub)) {}
5757

5858
private:
5959
using StubType = viam::component::camera::v1::CameraService::StubInterface;

src/viam/sdk/components/private/generic_client.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class GenericComponentClient : public GenericComponent {
3434
GenericComponentClient(
3535
std::string name,
3636
std::unique_ptr<viam::component::generic::v1::GenericService::StubInterface> stub)
37-
: GenericComponent(std::move(name)), stub_(std::move(stub)) {};
37+
: GenericComponent(std::move(name)), stub_(std::move(stub)) {}
3838

3939
private:
4040
using StubType = viam::component::generic::v1::GenericService::StubInterface;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class GenericServiceClient : public GenericService {
3434
GenericServiceClient(
3535
std::string name,
3636
std::unique_ptr<viam::service::generic::v1::GenericService::StubInterface> stub)
37-
: GenericService(std::move(name)), stub_(std::move(stub)) {};
37+
: GenericService(std::move(name)), stub_(std::move(stub)) {}
3838

3939
private:
4040
using StubType = viam::service::generic::v1::GenericService::StubInterface;

0 commit comments

Comments
 (0)