Skip to content

Commit

Permalink
removed not used parameter client
Browse files Browse the repository at this point in the history
  • Loading branch information
alsora committed May 24, 2019
1 parent 131a11b commit 8f8346d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions rclcpp/include/rclcpp/time_source.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@ class TimeSource
// Destroy the subscription for the clock topic
void destroy_clock_sub();

// Parameter Client pointer
std::shared_ptr<rclcpp::AsyncParametersClient> parameter_client_;

// Parameter Event subscription
using ParamMessageT = rcl_interfaces::msg::ParameterEvent;
using ParamSubscriptionT = rclcpp::Subscription<ParamMessageT, Alloc>;
Expand Down
2 changes: 1 addition & 1 deletion rclcpp/src/rclcpp/time_source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ void TimeSource::detachNode()
{
this->ros_time_active_ = false;
clock_subscription_.reset();
parameter_client_.reset();
parameter_subscription_.reset();
node_base_.reset();
node_topics_.reset();
node_graph_.reset();
Expand Down

0 comments on commit 8f8346d

Please sign in to comment.