Adjusting C++ files to compile with gcc 4.9.3
[iot2.git] / benchmarks / drivers / Cpp / LabRoom / Room_Skeleton.cpp
index e29f567..3124cf4 100644 (file)
@@ -84,7 +84,7 @@ void Room_Skeleton::___waitRequestInvokeMethod(Room_Skeleton* skel) {
                }
                switch (methodId) {
                        case 0: {
-                               thread th0 (&Room_Skeleton::___getRoomID, std::ref(skel), skel);
+                               thread th0 (&Room_Skeleton::___getRoomID, skel, skel);
                                th0.detach(); break;
                        }
                        default: