Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Indentation.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 30 Mar 2022 07:23:18 +0000 (09:23 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 30 Mar 2022 13:13:26 +0000 (15:13 +0200)
include/simgrid/s4u/Mailbox.hpp
src/s4u/s4u_Mailbox.cpp

index d48166d..96dab88 100644 (file)
@@ -126,7 +126,6 @@ public:
   template <typename T> std::unique_ptr<T> get_unique(double timeout) { return std::unique_ptr<T>(get<T>(timeout)); }
 
   void clear();
-  
 };
 
 template <typename T> CommPtr Mailbox::get_async(T** data)
index cd8da0d..fb6de63 100644 (file)
@@ -135,8 +135,9 @@ Mailbox::iprobe(int type, const std::function<bool(void*, void*, kernel::activit
       [this, type, &match_fun, data] { return pimpl_->iprobe(type, match_fun, data); });
 }
 
-void Mailbox::clear() {
-    kernel::actor::simcall_answered([this]() { this->pimpl_->clear(); });
+void Mailbox::clear()
+{
+  kernel::actor::simcall_answered([this]() { this->pimpl_->clear(); });
 }
 
 } // namespace s4u