Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
Signed-off-by: M. Fatih Cırıt <[email protected]>
  • Loading branch information
M. Fatih Cırıt committed May 17, 2024
1 parent 9812d32 commit 4eb6672
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/autoware_node/include/autoware/node/node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Node : public rclcpp_lifecycle::LifecycleNode
std::shared_ptr<SubscriptionT> create_monitored_subscription(
const std::string & topic_name, const float hz, const rclcpp::QoS & qos, CallbackT && callback,
const rclcpp::SubscriptionOptions & options = rclcpp::SubscriptionOptions(),
typename MessageMemoryStrategyT::SharedPtr msg_mem_strat =
typename MessageMemoryStrategyT::SharedPtr msg_mem_strategy =
(MessageMemoryStrategyT::create_default()))
{
// create proper qos based on input parameter
Expand Down Expand Up @@ -100,7 +100,7 @@ class Node : public rclcpp_lifecycle::LifecycleNode
};

return create_subscription<MessageT>(
topic_name, qos_profile, std::forward<CallbackT>(callback), sub_options, msg_mem_strat);
topic_name, qos_profile, std::forward<CallbackT>(callback), sub_options, msg_mem_strategy);
}

rclcpp::CallbackGroup::SharedPtr callback_group_mut_ex_;
Expand Down

0 comments on commit 4eb6672

Please sign in to comment.