Skip to content

Commit

Permalink
Add default value to options in LifecycleNode construnctor. Update AP…
Browse files Browse the repository at this point in the history
…I documentation. (#775)

Signed-off-by: Esteve Fernandez <esteve@apache.org>
  • Loading branch information
esteve authored and dirk-thomas committed Jul 26, 2019
1 parent bfee90a commit eed46ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rclcpp_lifecycle/include/rclcpp_lifecycle/lifecycle_node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,13 @@ class LifecycleNode : public node_interfaces::LifecycleNodeInterface,
/**
* \param[in] node_name Name of the node.
* \param[in] namespace_ Namespace of the node.
* \param[in] context The context for the node (usually represents the state of a process).
* \param[in] options Additional options to control creation of the node.
*/
RCLCPP_LIFECYCLE_PUBLIC
LifecycleNode(
const std::string & node_name,
const std::string & namespace_,
const rclcpp::NodeOptions & options);
const rclcpp::NodeOptions & options = rclcpp::NodeOptions());

RCLCPP_LIFECYCLE_PUBLIC
virtual ~LifecycleNode();
Expand Down

0 comments on commit eed46ac

Please sign in to comment.