Skip to content

Commit afea843

Browse files
committed
const correctness
1 parent b4ac67a commit afea843

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/viam/sdk/robot/client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ std::ostream& operator<<(std::ostream& os, const RobotClient::status& v) {
373373
}
374374

375375
RobotClient::status RobotClient::get_machine_status() const {
376-
robot::v1::GetMachineStatusRequest req;
376+
const robot::v1::GetMachineStatusRequest req;
377377
robot::v1::GetMachineStatusResponse resp;
378378
ClientContext ctx;
379379

0 commit comments

Comments
 (0)