Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cleanups in smpi, mostly cosmetic stuff and indent
[simgrid.git] / src / smpi / include / smpi_host.hpp
index 5a00654..8768c01 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2017-2018. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2017-2019. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -17,18 +17,16 @@ namespace simgrid {
 namespace smpi {
 
 class Host {
-
-  private:
   std::vector<s_smpi_factor_t> orecv_parsed_values;
   std::vector<s_smpi_factor_t> osend_parsed_values;
   std::vector<s_smpi_factor_t> oisend_parsed_values;
-  simgrid::s4u::Host *host = nullptr;
+  s4u::Host* host = nullptr;
 
-  public:
-  static simgrid::xbt::Extension<simgrid::s4u::Host, Host> EXTENSION_ID;
+public:
+  static xbt::Extension<s4u::Host, smpi::Host> EXTENSION_ID;
 
-  explicit Host(simgrid::s4u::Host *ptr);
-  ~Host();
+  explicit Host(s4u::Host* ptr);
+  ~Host() = default;
 
   double orecv(size_t size);
   double osend(size_t size);