Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Return values.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 20 Nov 2013 20:52:25 +0000 (21:52 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 20 Nov 2013 21:22:30 +0000 (22:22 +0100)
src/surf/vm_workstation.hpp

index 6d8d552..ce78cc7 100644 (file)
@@ -115,9 +115,13 @@ public:
   //FIXME: remove
   void updateState(tmgr_trace_event_t event_type, double value, double date) {
        WorkstationCLM03Lmm::updateState(event_type, value, date);
   //FIXME: remove
   void updateState(tmgr_trace_event_t event_type, double value, double date) {
        WorkstationCLM03Lmm::updateState(event_type, value, date);
-  };
-  bool isUsed() {WorkstationCLM03Lmm::isUsed();};
-  xbt_dict_t getProperties() {WorkstationCLM03Lmm::getProperties();};
+  }
+  bool isUsed() {
+    return WorkstationCLM03Lmm::isUsed();
+  }
+  xbt_dict_t getProperties() {
+    return WorkstationCLM03Lmm::getProperties();
+  }
   ActionPtr execute(double size);
 
 };
   ActionPtr execute(double size);
 
 };