From 90940a774eab876c38d5cef981b4be5bae67a462 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 8 Jul 2018 23:20:56 +0200 Subject: modernize only --- tracker-s2bot/ftnoir_tracker_s2bot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tracker-s2bot') diff --git a/tracker-s2bot/ftnoir_tracker_s2bot.cpp b/tracker-s2bot/ftnoir_tracker_s2bot.cpp index 8748e0f3..0b8976fc 100644 --- a/tracker-s2bot/ftnoir_tracker_s2bot.cpp +++ b/tracker-s2bot/ftnoir_tracker_s2bot.cpp @@ -56,7 +56,7 @@ void tracker_s2bot::run() { int add_indices[] = { s.add_yaw, s.add_pitch, s.add_roll, }; double orient[4] {}; - for (auto line : slist) + for (auto const& line : slist) { QStringList keyval = line.split(' '); if (keyval.count() < 2) continue; -- cgit v1.2.3