Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
tend to the google coding standards in all S4U API
[simgrid.git] / src / smpi / SmpiHost.cpp
index 9f0e62677329c5f0a5b2a20292837d85bd85d5e4..cc9a8148778fc74ab3bb857647533a5ac779fcf1 100644 (file)
@@ -88,24 +88,24 @@ double SmpiHost::oisend(size_t size)
 
 SmpiHost::SmpiHost(simgrid::s4u::Host *ptr) : host(ptr)
 {
-  if (!SmpiHost::EXTENSION_ID.valid())
+  if (not SmpiHost::EXTENSION_ID.valid())
     SmpiHost::EXTENSION_ID = simgrid::s4u::Host::extension_create<SmpiHost>();
 
-  const char* orecv_string = host->property("smpi/or");
+  const char* orecv_string = host->getProperty("smpi/or");
   if (orecv_string != nullptr) {
     orecv_parsed_values = parse_factor(orecv_string);
   } else {
     orecv_parsed_values = parse_factor(xbt_cfg_get_string("smpi/or"));
   }
 
-  const char* osend_string = host->property("smpi/os");
+  const char* osend_string = host->getProperty("smpi/os");
   if (osend_string != nullptr) {
     osend_parsed_values = parse_factor(osend_string);
   } else {
     osend_parsed_values = parse_factor(xbt_cfg_get_string("smpi/os"));
   }
 
-  const char* oisend_string = host->property("smpi/ois");
+  const char* oisend_string = host->getProperty("smpi/ois");
   if (oisend_string != nullptr) {
     oisend_parsed_values = parse_factor(oisend_string);
   } else {