BIND 10 master, updated. 1a0fc96ac4cf6f324631e67ac391b85d6eec5b08 [master] added boost:: for its version of bind().
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Jun 28 18:04:32 UTC 2012
The branch, master has been updated
via 1a0fc96ac4cf6f324631e67ac391b85d6eec5b08 (commit)
from c6385a4f54979296a9eb50da73d9fccddff81ff6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1a0fc96ac4cf6f324631e67ac391b85d6eec5b08
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Thu Jun 28 11:01:48 2012 -0700
[master] added boost:: for its version of bind().
as suggested in #2084. not sure why 'using namespace bind' didn't work
(and the signature is so special that there wouldn't be ambiguity)
but in any case this namespace is too large so it's better to not try to
specify the entire space.
with this change we don't need to declare using the entire space, so I
removed it, too.
okayed on jabber, directly committing.
-----------------------------------------------------------------------
Summary of changes:
src/lib/config/tests/ccsession_unittests.cc | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/config/tests/ccsession_unittests.cc b/src/lib/config/tests/ccsession_unittests.cc
index 3fca741..e07c5a3 100644
--- a/src/lib/config/tests/ccsession_unittests.cc
+++ b/src/lib/config/tests/ccsession_unittests.cc
@@ -33,7 +33,6 @@ using namespace isc::data;
using namespace isc::config;
using namespace isc::cc;
using namespace std;
-using namespace boost;
namespace {
std::string
@@ -52,6 +51,7 @@ protected:
root_name(isc::log::getRootLoggerName())
{
// upon creation of a ModuleCCSession, the class
+
// sends its specification to the config manager.
// it expects an ok answer back, so everytime we
// create a ModuleCCSession, we must set an initial
@@ -740,8 +740,9 @@ protected:
registerCommand(const string& recipient)
{
return (mccs_.groupRecvMsgAsync(
- bind(&AsyncReceiveCCSessionTest::callback, this, next_flag_ ++, _1,
- _2, _3), false, -1, recipient));
+ boost::bind(&AsyncReceiveCCSessionTest::callback, this,
+ next_flag_++, _1, _2, _3), false, -1,
+ recipient));
}
/// \brief Convenience function to queue a request to get a reply
/// message.
@@ -749,8 +750,8 @@ protected:
registerReply(int seq)
{
return (mccs_.groupRecvMsgAsync(
- bind(&AsyncReceiveCCSessionTest::callback, this, next_flag_ ++, _1,
- _2, _3), true, seq));
+ boost::bind(&AsyncReceiveCCSessionTest::callback, this,
+ next_flag_++, _1, _2, _3), true, seq));
}
/// \brief Check the next called callback was with this flag
void called(int flag) {
More information about the bind10-changes
mailing list