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