Skip to content

Commit

Permalink
fix: make member functions static
Browse files Browse the repository at this point in the history
Signed-off-by: Ryohsuke Mitsudome <[email protected]>
  • Loading branch information
mitsudome-r committed Dec 16, 2024
1 parent 59c5ba5 commit fb905d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ struct InterfaceBase
static constexpr auto reliability = RMW_QOS_POLICY_RELIABILITY_RELIABLE;
static constexpr auto durability = RMW_QOS_POLICY_DURABILITY_VOLATILE;

auto get_qos() const
static rclcpp::QoS get_qos()
{
return rclcpp::QoS{depth}.reliability(reliability).durability(durability);
}
Expand Down

0 comments on commit fb905d6

Please sign in to comment.