Skip to content

Commit

Permalink
chore: removed reference inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
mschweig committed Jan 14, 2025
1 parent b0c0ac0 commit e61394e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spot_driver/include/spot_driver/api/default_spot_api.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace spot_ros2 {

class DefaultSpotApi : public SpotApi {
public:
explicit DefaultSpotApi(const std::string& sdk_client_name, const std::chrono::seconds& timesync_timeout,
explicit DefaultSpotApi(const std::string& sdk_client_name, const std::chrono::seconds timesync_timeout,
const std::optional<std::string>& certificate = std::nullopt);

[[nodiscard]] tl::expected<void, std::string> createRobot(const std::string& robot_name,
Expand Down
2 changes: 1 addition & 1 deletion spot_driver/src/api/default_spot_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

namespace spot_ros2 {

DefaultSpotApi::DefaultSpotApi(const std::string& sdk_client_name, const std::chrono::seconds& timesync_timeout,
DefaultSpotApi::DefaultSpotApi(const std::string& sdk_client_name, const std::chrono::seconds timesync_timeout,
const std::optional<std::string>& certificate)
: timesync_timeout_(timesync_timeout) {
if (certificate.has_value()) {
Expand Down

0 comments on commit e61394e

Please sign in to comment.