diff options
author | Andrew Stitcher <astitcher@apache.org> | 2008-07-29 20:26:32 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2008-07-29 20:26:32 +0000 |
commit | 14744b26e039cf25368872a244e575ee04d0d30f (patch) | |
tree | 8ededd92acf87514345aa63ef9bab11427254957 /cpp/src/qpid/broker/SessionAdapter.cpp | |
parent | fe73a28361d4b6896d4cfd54379e429ecbdcfedf (diff) | |
download | qpid-python-14744b26e039cf25368872a244e575ee04d0d30f.tar.gz |
QPID-1198 (Partial): Added explicit namespaces that the Sun C++ requires (that gcc doesn't)
Patches from Manuel Teira.
It's not clear at this point whether there is a compiler problem with gcc that it does find
the symbols in the namespaces or SunCC that it doesn't!
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@680827 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/SessionAdapter.cpp')
-rw-r--r-- | cpp/src/qpid/broker/SessionAdapter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/SessionAdapter.cpp b/cpp/src/qpid/broker/SessionAdapter.cpp index e1589aea99..59f837f1d0 100644 --- a/cpp/src/qpid/broker/SessionAdapter.cpp +++ b/cpp/src/qpid/broker/SessionAdapter.cpp @@ -302,7 +302,7 @@ void SessionAdapter::QueueHandlerImpl::delete_(const string& queue, bool ifUnuse }else{ //remove the queue from the list of exclusive queues if necessary if(q->isExclusiveOwner(&getConnection())){ - QueueVector::iterator i = find(getConnection().exclusiveQueues.begin(), getConnection().exclusiveQueues.end(), q); + QueueVector::iterator i = std::find(getConnection().exclusiveQueues.begin(), getConnection().exclusiveQueues.end(), q); if(i < getConnection().exclusiveQueues.end()) getConnection().exclusiveQueues.erase(i); } q->destroy(); |