Skip to content

Commit d0f622e

Browse files
committed
std move values
1 parent a30fd97 commit d0f622e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/viam/sdk/common/utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ std::pair<std::string, std::string> long_name_to_remote_and_short(const std::str
137137
return a + ":" + b;
138138
});
139139

140-
return {remote_name, name};
140+
return {std::move(remote_name), std::move(name)};
141141
}
142142

143143
} // namespace sdk

0 commit comments

Comments
 (0)