Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
tend to the google coding standards in all S4U API
[simgrid.git] / examples / s4u / actions-storage / s4u_actions-storage.cpp
index 3b48581..85e71e1 100644 (file)
@@ -31,7 +31,7 @@ static void log_action(const char* const* action, double date)
 
 static simgrid::s4u::File* get_file_descriptor(const char* file_name)
 {
-  std::string full_name = simgrid::s4u::this_actor::name() + ":" + file_name;
+  std::string full_name = simgrid::s4u::this_actor::getName() + ":" + file_name;
 
   return opened_files.at(full_name);
 }
@@ -62,7 +62,7 @@ public:
   {
     const char* file_name = action[2];
     double clock          = simgrid::s4u::Engine::getClock();
-    std::string full_name = simgrid::s4u::this_actor::name() + ":" + file_name;
+    std::string full_name = simgrid::s4u::this_actor::getName() + ":" + file_name;
 
     ACT_DEBUG("Entering Open: %s (filename: %s)", NAME, file_name);
     simgrid::s4u::File* file = new simgrid::s4u::File(file_name, NULL);