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/Queue.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/Queue.cpp')
-rw-r--r-- | cpp/src/qpid/broker/Queue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/Queue.cpp b/cpp/src/qpid/broker/Queue.cpp index d718acff03..18a3574cdd 100644 --- a/cpp/src/qpid/broker/Queue.cpp +++ b/cpp/src/qpid/broker/Queue.cpp @@ -292,13 +292,13 @@ void Queue::removeListener(Consumer& c) { Mutex::ScopedLock locker(messageLock); notifierLock.wait(messageLock);//wait until no notifies are in progress - Listeners::iterator i = find(listeners.begin(), listeners.end(), &c); + Listeners::iterator i = std::find(listeners.begin(), listeners.end(), &c); if (i != listeners.end()) listeners.erase(i); } void Queue::addListener(Consumer& c) { - Listeners::iterator i = find(listeners.begin(), listeners.end(), &c); + Listeners::iterator i = std::find(listeners.begin(), listeners.end(), &c); if (i == listeners.end()) listeners.push_back(&c); } |