You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2012/07/19 21:16:36 UTC

svn commit: r1363489 - /qpid/branches/0.18/qpid/cpp/src/qpid/ha/RemoteBackup.cpp

Author: aconway
Date: Thu Jul 19 19:16:36 2012
New Revision: 1363489

URL: http://svn.apache.org/viewvc?rev=1363489&view=rev
Log:
NO-JIRA: Removed use of boost::bind which was causing build failure on windows.

Modified:
    qpid/branches/0.18/qpid/cpp/src/qpid/ha/RemoteBackup.cpp

Modified: qpid/branches/0.18/qpid/cpp/src/qpid/ha/RemoteBackup.cpp
URL: http://svn.apache.org/viewvc/qpid/branches/0.18/qpid/cpp/src/qpid/ha/RemoteBackup.cpp?rev=1363489&r1=1363488&r2=1363489&view=diff
==============================================================================
--- qpid/branches/0.18/qpid/cpp/src/qpid/ha/RemoteBackup.cpp (original)
+++ qpid/branches/0.18/qpid/cpp/src/qpid/ha/RemoteBackup.cpp Thu Jul 19 19:16:36 2012
@@ -45,8 +45,8 @@ void RemoteBackup::setInitialQueues(brok
 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();
 }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org