diff options
| author | Alan Conway <aconway@apache.org> | 2012-07-18 20:10:49 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2012-07-18 20:10:49 +0000 |
| commit | 6938dcff0d383c26e654ae60c5860fa2bd830fa4 (patch) | |
| tree | 0e204e8a7f198a2694a7402f627c1b65c1f49aaa | |
| parent | 1d4560bb9dc052d56dd7a0ecfcb38babbd23c4d4 (diff) | |
| download | qpid-python-6938dcff0d383c26e654ae60c5860fa2bd830fa4.tar.gz | |
NO-JIRA: Removed use of boost::bind which was causing build failure on windows.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1363088 13f79535-47bb-0310-9956-ffa450edef68
| -rw-r--r-- | cpp/src/qpid/ha/RemoteBackup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/ha/RemoteBackup.cpp b/cpp/src/qpid/ha/RemoteBackup.cpp index 1b4ab6f69a..95b9f748b4 100644 --- a/cpp/src/qpid/ha/RemoteBackup.cpp +++ b/cpp/src/qpid/ha/RemoteBackup.cpp @@ -45,8 +45,8 @@ void RemoteBackup::setInitialQueues(broker::QueueRegistry& queues, bool createGu RemoteBackup::~RemoteBackup() { cancel(); } void RemoteBackup::cancel() { - for_each(guards.begin(), guards.end(), - bind(&QueueGuard::cancel, bind(&GuardMap::value_type::second, _1))); + for (GuardMap::iterator i = guards.begin(); i != guards.end(); ++i) + i->second->cancel(); guards.clear(); } |
