Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[s4u] Return void in worker classes
[simgrid.git] / examples / s4u / io / s4u_io.cpp
index 922d56d..b5a06a9 100644 (file)
@@ -32,7 +32,7 @@ public:
     }
   }
 
-  int operator()() {
+  void operator()() {
     boost::unordered_map <std::string, simgrid::s4u::Storage *> const& mounts =
       simgrid::s4u::Host::current()->mountedStorages();
 
@@ -99,7 +99,6 @@ public:
       }
       xbt_dict_free(&contents);
      */
-    return 0;
   }
 };