From fb905d612c3e9a5f5f2274eb11888c012778c230 Mon Sep 17 00:00:00 2001 From: Ryohsuke Mitsudome Date: Mon, 16 Dec 2024 16:34:39 +0900 Subject: [PATCH] fix: make member functions static Signed-off-by: Ryohsuke Mitsudome --- .../include/autoware/core_component_interface_specs/base.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/autoware_core_component_interface_specs/include/autoware/core_component_interface_specs/base.hpp b/common/autoware_core_component_interface_specs/include/autoware/core_component_interface_specs/base.hpp index 9803015a..3a96c301 100644 --- a/common/autoware_core_component_interface_specs/include/autoware/core_component_interface_specs/base.hpp +++ b/common/autoware_core_component_interface_specs/include/autoware/core_component_interface_specs/base.hpp @@ -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); }