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()); }