diff --git a/rviz_tactile_plugins/src/tactile_state_display.cpp b/rviz_tactile_plugins/src/tactile_state_display.cpp index dff738d..251adba 100644 --- a/rviz_tactile_plugins/src/tactile_state_display.cpp +++ b/rviz_tactile_plugins/src/tactile_state_display.cpp @@ -48,7 +48,6 @@ #include #include -#include static const QString ROBOT_DESC = "robot description"; using namespace urdf::tactile; @@ -192,7 +191,7 @@ GroupProperty *TactileStateDisplay::getGroupProperty(const QString &path, GroupP { assert(parent); QStringList names = path.split("/", QString::SkipEmptyParts); - Q_FOREACH (const QString &name, names) { + for (const QString &name : names) { GroupProperty *child = nullptr; for (int i = 0, end = parent->numChildren(); i < end && !child; ++i) { rviz::Property *prop = parent->childAtUnchecked(i);