projects
/
iot2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjusting C++ files to compile with gcc 4.9.3
[iot2.git]
/
benchmarks
/
Cpp
/
Lifxtest
/
Lifxtest.cpp
diff --git
a/benchmarks/Cpp/Lifxtest/Lifxtest.cpp
b/benchmarks/Cpp/Lifxtest/Lifxtest.cpp
index 7e93b4c2cc4e07c7995aafa08552e07358fa6cc9..07ae82f5d24ebb07b6a207f1b1b08797a6cd34f8 100644
(file)
--- 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;
//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 {
log << "No match!" << endl;
//while (itrLight != roomLightRel->end()) {
else {
@@
-193,7
+193,7
@@
void Lifxtest::init() {
this_thread::sleep_for (chrono::milliseconds(500));
}
//++itrLight;
this_thread::sleep_for (chrono::milliseconds(500));
}
//++itrLight;
- }
+ }
*/
log << "End of one LightBulb!" << endl << endl;
}
log << "End of one LightBulb!" << endl << endl;
}