Skip to content

Commit 6129660

Browse files
committed
fix: make member functions static
Signed-off-by: Ryohsuke Mitsudome <ryohsuke.mitsudome@tier4.jp>
1 parent 85bf1b3 commit 6129660

File tree

1 file changed

+1
-1
lines changed
  • common/autoware_core_component_interface_specs/include/autoware/core_component_interface_specs

1 file changed

+1
-1
lines changed

common/autoware_core_component_interface_specs/include/autoware/core_component_interface_specs/base.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ struct InterfaceBase
3131
static constexpr auto reliability = RMW_QOS_POLICY_RELIABILITY_RELIABLE;
3232
static constexpr auto durability = RMW_QOS_POLICY_DURABILITY_VOLATILE;
3333

34-
auto get_qos() const
34+
static rclcpp::QoS get_qos()
3535
{
3636
return rclcpp::QoS{depth}.reliability(reliability).durability(durability);
3737
}

0 commit comments

Comments
 (0)