Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix git-version in smpi scripts.
[simgrid.git] / src / smpi / internals / instr_smpi.cpp
index f3e1b4129abfd95d8359d5efc8ade8ec35e58802..e468312d70c8f09e3d26d8ba5ee38c721dea4845 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2021. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2010-2022. 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. */
@@ -174,7 +174,7 @@ void TRACE_smpi_init(aid_t pid, const std::string& calling_func)
      * Check whether this variable already exists or not. Otherwise, it will be created
      * multiple times but only the last one would be used...
      */
-    container->type_->by_name_or_create(it.first, "");
+    container->get_type()->by_name_or_create(it.first, "");
   }
 #endif
 }