Adjusting C++ files to compile with gcc 4.9.3
[iot2.git] / benchmarks / Cpp / Lifxtest / Lifxtest.cpp
index 7e93b4c2cc4e07c7995aafa08552e07358fa6cc9..07ae82f5d24ebb07b6a207f1b1b08797a6cd34f8 100644 (file)
@@ -144,9 +144,9 @@ void Lifxtest::init() {
                //Room* rs = (Room*) *itr;
                RoomSmart* rs = (RoomSmart*) *itr;
                log << "Getting Room! ID: " << rs->getRoomID() << endl;
-               auto itrLight = roomLightRel->find(rs);
+               //auto itrLight = roomLightRel->find(rs);
 
-               if (itrLight == roomLightRel->end())
+               /*if (itrLight == roomLightRel->end())
                        log << "No match!" << endl;
                //while (itrLight != roomLightRel->end()) {
                else {
@@ -193,7 +193,7 @@ void Lifxtest::init() {
                                this_thread::sleep_for (chrono::milliseconds(500));
                        }
                        //++itrLight;
-               }
+               }*/
                log << "End of one LightBulb!" << endl << endl;
        }