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/framing/FrameSet.h | |
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/framing/FrameSet.h')
-rw-r--r-- | cpp/src/qpid/framing/FrameSet.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/framing/FrameSet.h b/cpp/src/qpid/framing/FrameSet.h index ebefb09118..82987910a7 100644 --- a/cpp/src/qpid/framing/FrameSet.h +++ b/cpp/src/qpid/framing/FrameSet.h @@ -76,15 +76,15 @@ public: const SequenceNumber& getId() const { return id; } template <class P> void remove(P predicate) { - parts.erase(remove_if(parts.begin(), parts.end(), predicate), parts.end()); + parts.erase(std::remove_if(parts.begin(), parts.end(), predicate), parts.end()); } template <class F> void map(F& functor) { - for_each(parts.begin(), parts.end(), functor); + std::for_each(parts.begin(), parts.end(), functor); } template <class F> void map(F& functor) const { - for_each(parts.begin(), parts.end(), functor); + std::for_each(parts.begin(), parts.end(), functor); } template <class F, class P> void map_if(F& functor, P predicate) { |