Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Camel_case a forgotten function
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Wed, 20 Jan 2021 17:16:15 +0000 (18:16 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Sat, 23 Jan 2021 13:41:57 +0000 (14:41 +0100)
src/kernel/activity/CommImpl.cpp
src/kernel/activity/CommImpl.hpp

index 5836273..9749530 100644 (file)
@@ -417,7 +417,7 @@ CommImpl::~CommImpl()
 {
   XBT_DEBUG("Really free communication %p in state %d (detached = %d)", this, static_cast<int>(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();
index c47f748..2ed9b72 100644 (file)
@@ -17,7 +17,7 @@ namespace activity {
 
 class XBT_PUBLIC CommImpl : public ActivityImpl_T<CommImpl> {
   ~CommImpl() override;
-  void cleanupSurf();
+  void cleanup_surf();
 
   double rate_       = 0.0;
   double size_       = 0.0;