Skip to content

Commit 2fd5c29

Browse files
committed
use auto
1 parent 62617f3 commit 2fd5c29

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
@@ -314,7 +314,7 @@ std::shared_ptr<RobotClient> RobotClient::at_address(const std::string& address,
314314
std::shared_ptr<RobotClient> RobotClient::at_local_socket(const std::string& address,
315315
const Options& options) {
316316
const std::string addr = "unix://" + address;
317-
std::shared_ptr<RobotClient> robot = RobotClient::with_channel(
317+
auto robot = RobotClient::with_channel(
318318
ViamChannel(sdk::impl::create_viam_channel(addr, grpc::InsecureChannelCredentials())),
319319
options);
320320
robot->should_close_channel_ = true;

0 commit comments

Comments
 (0)