X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/0c4a3402a57c61218bf1d1c6d8c31f5c3e1482f9..5c7c048885373897b33b2761df42444eb5b24640:/communicator.cpp?ds=sidebyside diff --git a/communicator.cpp b/communicator.cpp index 1570b10..f3e6bf9 100644 --- a/communicator.cpp +++ b/communicator.cpp @@ -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()) {