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

Private GIT Repository
Fix error reporting in opt::parse_args.
[loba.git] / communicator.cpp
index 1570b10148a02dbb2fdfa7a78444d2cae1309b6a..f3e6bf9fae1eddd27ec2f25e11977dfd727d15c4 100644 (file)
@@ -115,8 +115,8 @@ bool communicator::recv(message*& msg, m_host_t& from, bool wait)
 
 void communicator::flush(bool wait)
 {
-    using namespace std::tr1;
-    using namespace std::tr1::placeholders;
+    using std::tr1::bind;
+    using std::tr1::placeholders::_1;
 
     sent_comm.remove_if(comm_test_n_destroy);
     if (wait && !sent_comm.empty()) {