Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
sonar: redundent forward declaration
[simgrid.git] / src / msg / instr_msg_process.cpp
index 1631086..a0aa212 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010, 2012-2017. The SimGrid Team. All rights reserved.    */
+/* Copyright (c) 2010-2018. 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. */
@@ -19,6 +19,6 @@ void TRACE_msg_process_kill(smx_process_exit_status_t status, msg_process_t proc
 {
   if (TRACE_actor_is_enabled() && status == SMX_EXIT_FAILURE) {
     //kill means that this process no longer exists, let's destroy it
-    simgrid::instr::Container::byName(instr_pid(process))->removeFromParent();
+    simgrid::instr::Container::by_name(instr_pid(process))->remove_from_parent();
   }
 }