Skip to content

Commit

Permalink
fixup after rebase
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodall <william@osrfoundation.org>
  • Loading branch information
wjwwood committed Jan 30, 2019
1 parent 7ff9c31 commit e114481
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion rclcpp/include/rclcpp/node_interfaces/node_clock.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ class NodeClock : public NodeClockInterface
rclcpp::node_interfaces::NodeTopicsInterface::SharedPtr node_topics,
rclcpp::node_interfaces::NodeGraphInterface::SharedPtr node_graph,
rclcpp::node_interfaces::NodeServicesInterface::SharedPtr node_services,
rclcpp::node_interfaces::NodeParametersInterface::SharedPtr node_parameters,
rclcpp::node_interfaces::NodeLoggingInterface::SharedPtr node_logging);

RCLCPP_PUBLIC
Expand Down
3 changes: 1 addition & 2 deletions rclcpp/include/rclcpp/node_interfaces/node_parameters.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,10 @@ class NodeParameters : public NodeParametersInterface
rclcpp::Parameter & parameter) const override;

RCLCPP_PUBLIC
virtual
bool
get_parameters_by_prefix(
const std::string & prefix,
std::map<std::string, rclcpp::Parameter> & parameters) const;
std::map<std::string, rclcpp::Parameter> & parameters) const override;

RCLCPP_PUBLIC
virtual
Expand Down
2 changes: 0 additions & 2 deletions rclcpp/src/rclcpp/node_interfaces/node_clock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@ NodeClock::NodeClock(
rclcpp::node_interfaces::NodeTopicsInterface::SharedPtr node_topics,
rclcpp::node_interfaces::NodeGraphInterface::SharedPtr node_graph,
rclcpp::node_interfaces::NodeServicesInterface::SharedPtr node_services,
rclcpp::node_interfaces::NodeParametersInterface::SharedPtr node_parameters,
rclcpp::node_interfaces::NodeLoggingInterface::SharedPtr node_logging)
: node_base_(node_base),
node_topics_(node_topics),
node_graph_(node_graph),
node_services_(node_services),
node_parameters_(node_parameters),
node_logging_(node_logging),
ros_clock_(std::make_shared<rclcpp::Clock>(RCL_ROS_TIME))
{}
Expand Down
2 changes: 1 addition & 1 deletion rclcpp/src/rclcpp/node_interfaces/node_parameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ NodeParameters::NodeParameters(
bool use_intra_process,
bool start_parameter_services,
bool allow_undeclared_parameters)
: node_clock_(node_clock), allow_undeclared_(allow_undeclared_parameters)
: allow_undeclared_(allow_undeclared_parameters), node_clock_(node_clock)
{
using MessageT = rcl_interfaces::msg::ParameterEvent;
using PublisherT = rclcpp::Publisher<MessageT>;
Expand Down

0 comments on commit e114481

Please sign in to comment.