Adjusting C++ files to compile with gcc 4.9.3
[iot2.git] / benchmarks / Cpp / Lifxtest / Lifxtest.cpp
index 7e93b4c..07ae82f 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;
        }