Index: trunk/FACT++/src/gudectrl.cc
===================================================================
--- trunk/FACT++/src/gudectrl.cc	(revision 20021)
+++ trunk/FACT++/src/gudectrl.cc	(revision 20022)
@@ -68,5 +68,5 @@
             const auto &sensor_values = tree.get_child("sensor_values");
 
-            for (const std::pair<std::string, pt::ptree> &obj : sensor_values)
+            for (const auto &obj : sensor_values)
             {
                 switch (obj.second.get_child("type").get_value<uint32_t>())
@@ -78,5 +78,5 @@
 
                         int isensor = 0;
-                        for (const std::pair<std::string, pt::ptree> &sensor : values)
+                        for (const auto &sensor : values)
                         {
                             if (isensor==12)
@@ -84,5 +84,5 @@
 
                             int ivalue = 0;
-                            for (const std::pair<std::string, pt::ptree> &value : sensor.second)
+                            for (const auto &value : sensor.second)
                             {
                                 if (ivalue==21)
@@ -111,5 +111,5 @@
 
             int isensor = 0;
-            for (const std::pair<std::string, pt::ptree> &obj : outputs)
+            for (const auto &obj : outputs)
             {
                 if (isensor==12)
@@ -128,5 +128,5 @@
             const auto &sensor_descr = tree.get_child("sensor_descr");
 
-            for (const std::pair<std::string, pt::ptree> &obj : sensor_descr)
+            for (const auto &obj : sensor_descr)
             {
                 switch (obj.second.get_child("type").get_value<uint32_t>())
@@ -137,5 +137,5 @@
 
                         int ifield = 0;
-                        for (const std::pair<std::string, pt::ptree> &field : fields)
+                        for (const auto &field : fields)
                         {
                             if (ifield==21)
