qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r722037 - /incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Message.cpp
Date Mon, 01 Dec 2008 11:15:56 GMT
Author: gsim
Date: Mon Dec  1 03:15:54 2008
New Revision: 722037

URL: http://svn.apache.org/viewvc?rev=722037&view=rev
Log:
QPID-1495: Patch from Danushka Menikkumbura to fix compilation problem.


Modified:
    incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Message.cpp

Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Message.cpp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Message.cpp?rev=722037&r1=722036&r2=722037&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Message.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Message.cpp Mon Dec  1 03:15:54 2008
@@ -346,7 +346,7 @@
     MessageCallback* cb = 0;
     {
         sys::Mutex::ScopedLock l(lock);
-        swap(cb, enqueueCallback);
+        std::swap(cb, enqueueCallback);
     }
     if (cb && *cb) (*cb)(intrusive_ptr<Message>(this));
 }
@@ -355,7 +355,7 @@
     MessageCallback* cb = 0;
     {
         sys::Mutex::ScopedLock l(lock);
-        swap(cb, dequeueCallback);
+        std::swap(cb, dequeueCallback);
     }
     if (cb && *cb) (*cb)(intrusive_ptr<Message>(this));
 }



Mime
View raw message