X-Git-Url: http://plrg.eecs.uci.edu/git/?p=iot2.git;a=blobdiff_plain;f=benchmarks%2FCpp%2FLifxtest%2FLifxtest.cpp;h=07ae82f5d24ebb07b6a207f1b1b08797a6cd34f8;hp=7e93b4c2cc4e07c7995aafa08552e07358fa6cc9;hb=12cd536cebfeea6c5df468170b6388a9f6ff2f12;hpb=1dfa63ff48c8f5695f64046585831d5a7b886d7c;ds=sidebyside diff --git a/benchmarks/Cpp/Lifxtest/Lifxtest.cpp b/benchmarks/Cpp/Lifxtest/Lifxtest.cpp index 7e93b4c..07ae82f 100644 --- a/benchmarks/Cpp/Lifxtest/Lifxtest.cpp +++ b/benchmarks/Cpp/Lifxtest/Lifxtest.cpp @@ -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; }