Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use structured binding declarations (sonar, c++17).
[simgrid.git] / src / smpi / mpi / smpi_errhandler.cpp
index c62d8449d5e3b48526de4d5f4221ffd832cfd62e..e795736ce51a4c0f35023e4b03e0345fb5de8f15 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2021. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007-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. */
@@ -47,7 +47,7 @@ void Errhandler::unref(Errhandler* errhandler){
     return;
   errhandler->refcount_--;
   if(errhandler->refcount_==0){
-    F2C::free_f(errhandler->c2f());
+    F2C::free_f(errhandler->f2c_id());
     delete errhandler;
   }
 }