From: Martin Quinson Date: Wed, 20 Jan 2021 17:16:15 +0000 (+0100) Subject: Camel_case a forgotten function X-Git-Tag: v3.27~551 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a95bc05581fb3ba6233e1e9c0fbb0715bd6f2cf9?ds=sidebyside;hp=21c32de4db66ebc6a1082437afd6552b549e3f41 Camel_case a forgotten function --- diff --git a/src/kernel/activity/CommImpl.cpp b/src/kernel/activity/CommImpl.cpp index 5836273e1d..97495307e0 100644 --- a/src/kernel/activity/CommImpl.cpp +++ b/src/kernel/activity/CommImpl.cpp @@ -417,7 +417,7 @@ CommImpl::~CommImpl() { XBT_DEBUG("Really free communication %p in state %d (detached = %d)", this, static_cast(state_), detached_); - cleanupSurf(); + cleanup_surf(); if (detached_ && state_ != State::DONE) { /* the communication has failed and was detached: @@ -536,7 +536,7 @@ void CommImpl::cancel() } /** @brief This is part of the cleanup process, probably an internal command */ -void CommImpl::cleanupSurf() +void CommImpl::cleanup_surf() { clean_action(); @@ -571,7 +571,7 @@ void CommImpl::post() src_actor_.get(), dst_actor_.get(), detached_); /* destroy the surf actions associated with the Simix communication */ - cleanupSurf(); + cleanup_surf(); /* Answer all simcalls associated with the synchro */ finish(); diff --git a/src/kernel/activity/CommImpl.hpp b/src/kernel/activity/CommImpl.hpp index c47f7489ff..2ed9b72390 100644 --- a/src/kernel/activity/CommImpl.hpp +++ b/src/kernel/activity/CommImpl.hpp @@ -17,7 +17,7 @@ namespace activity { class XBT_PUBLIC CommImpl : public ActivityImpl_T { ~CommImpl() override; - void cleanupSurf(); + void cleanup_surf(); double rate_ = 0.0; double size_ = 0.0;