Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
%ZUt, again
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 15 Mar 2017 15:23:46 +0000 (16:23 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 15 Mar 2017 15:23:46 +0000 (16:23 +0100)
include/simgrid/s4u/engine.hpp
src/s4u/s4u_engine.cpp

index 9a1a5d9..22ef7dc 100644 (file)
@@ -57,7 +57,7 @@ public:
   /** @brief Load a deployment file and launch the actors that it contains */
   void loadDeployment(const char *deploy);
 
   /** @brief Load a deployment file and launch the actors that it contains */
   void loadDeployment(const char *deploy);
 
-  unsigned int hostCount();
+  size_t hostCount();
   void hostList(std::vector<Host*>*);
 
   /** @brief Run the simulation */
   void hostList(std::vector<Host*>*);
 
   /** @brief Run the simulation */
index 0434602..5734a1f 100644 (file)
@@ -81,7 +81,7 @@ void Engine::loadDeployment(const char *deploy)
 // FIXME: The following duplicates the content of s4u::Host
 extern std::map<std::string, simgrid::s4u::Host*> host_list;
 /** @brief Returns the amount of hosts in the platform */
 // FIXME: The following duplicates the content of s4u::Host
 extern std::map<std::string, simgrid::s4u::Host*> host_list;
 /** @brief Returns the amount of hosts in the platform */
-unsigned int Engine::hostCount()
+size_t Engine::hostCount()
 {
   return host_list.size();
 }
 {
   return host_list.size();
 }