From 108348ef1144e159820a29329c1791ce39828479 Mon Sep 17 00:00:00 2001 From: Wiktor Bajor Date: Sun, 22 Dec 2024 16:33:21 +0100 Subject: [PATCH] Fix Wsign-compare warning --- .../semantic_components/semantic_component_interface.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller_interface/include/semantic_components/semantic_component_interface.hpp b/controller_interface/include/semantic_components/semantic_component_interface.hpp index f0a1a7cff9..1f49e8cbff 100644 --- a/controller_interface/include/semantic_components/semantic_component_interface.hpp +++ b/controller_interface/include/semantic_components/semantic_component_interface.hpp @@ -91,7 +91,7 @@ class SemanticComponentInterface return false; } // insert all the values - for (auto i = 0; i < state_interfaces_.size(); ++i) + for (auto i = 0u; i < state_interfaces_.size(); ++i) { values.emplace_back(state_interfaces_[i].get().get_value()); }