]> AND Private Git Repository - loba.git/blobdiff - communicator.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Cosmetics: reorder includes.
[loba.git] / communicator.cpp
index 7abdf763a175aded0947ef48f88cdccb9dfe8b95..bd0cb7b7a6ba0db14dd2a5741ad53994ae7a5f3e 100644 (file)
@@ -63,9 +63,9 @@ msg_comm_t communicator::real_send(const char* dest, message* msg)
 
 void communicator::real_flush(sent_comm_type& sent_comm, bool wait)
 {
-    sent_comm_type::iterator bound;
-    bound = std::remove_if(sent_comm.begin(), sent_comm.end(),
-                           comm_test_n_destroy);
+    sent_comm_type::iterator bound =
+        std::remove_if(sent_comm.begin(), sent_comm.end(),
+                       comm_test_n_destroy);
     sent_comm.erase(bound, sent_comm.end());
     if (wait && !sent_comm.empty()) {
         size_t size = sent_comm.size();