Skip to content

Commit b7e6ecd

Browse files
committed
use auto
1 parent c43c973 commit b7e6ecd

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
@@ -305,7 +305,7 @@ std::shared_ptr<RobotClient> RobotClient::with_channel(ViamChannel channel,
305305
std::shared_ptr<RobotClient> RobotClient::at_address(const std::string& address,
306306
const Options& options) {
307307
const char* uri = address.c_str();
308-
std::shared_ptr<RobotClient> robot =
308+
auto robot =
309309
RobotClient::with_channel(ViamChannel::dial_initial(uri, options.dial_options()), options);
310310
robot->should_close_channel_ = true;
311311

0 commit comments

Comments
 (0)