diff options
author | Alan Conway <aconway@apache.org> | 2008-03-18 22:07:58 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-03-18 22:07:58 +0000 |
commit | d40280cec3ff590facd2f46b7f5d5054fd13db89 (patch) | |
tree | 6e323f16697a94faf2fc37039f5499ec8ce4aea2 /cpp | |
parent | 67dcb5db50cda061744821326e584b7c4493f633 (diff) | |
download | qpid-python-d40280cec3ff590facd2f46b7f5d5054fd13db89.tar.gz |
Qualify names to fix gcc 4.3 compile errors.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@638604 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/qpid/sys/AtomicCount.h | 4 | ||||
-rw-r--r-- | cpp/src/qpid/sys/posix/Mutex.h | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/cpp/src/qpid/sys/AtomicCount.h b/cpp/src/qpid/sys/AtomicCount.h index b542e37039..54081092c8 100644 --- a/cpp/src/qpid/sys/AtomicCount.h +++ b/cpp/src/qpid/sys/AtomicCount.h @@ -30,8 +30,8 @@ namespace sys { */ class AtomicCount { public: - typedef ScopedDecrement<AtomicCount> ScopedDecrement; - typedef ScopedIncrement<AtomicCount> ScopedIncrement; + typedef ::qpid::sys::ScopedDecrement<AtomicCount> ScopedDecrement; + typedef ::qpid::sys::ScopedIncrement<AtomicCount> ScopedIncrement; AtomicCount(long value = 0) : count(value) {} diff --git a/cpp/src/qpid/sys/posix/Mutex.h b/cpp/src/qpid/sys/posix/Mutex.h index 590fd14bd0..ceb2794abe 100644 --- a/cpp/src/qpid/sys/posix/Mutex.h +++ b/cpp/src/qpid/sys/posix/Mutex.h @@ -36,8 +36,8 @@ class Mutex : private boost::noncopyable { friend class Condition; public: - typedef ScopedLock<Mutex> ScopedLock; - typedef ScopedUnlock<Mutex> ScopedUnlock; + typedef ::qpid::sys::ScopedLock<Mutex> ScopedLock; + typedef ::qpid::sys::ScopedUnlock<Mutex> ScopedUnlock; inline Mutex(); inline ~Mutex(); @@ -57,8 +57,8 @@ class RWlock : private boost::noncopyable { friend class Condition; public: - typedef ScopedRlock<RWlock> ScopedRlock; - typedef ScopedWlock<RWlock> ScopedWlock; + typedef ::qpid::sys::ScopedRlock<RWlock> ScopedRlock; + typedef ::qpid::sys::ScopedWlock<RWlock> ScopedWlock; inline RWlock(); inline ~RWlock(); @@ -123,7 +123,7 @@ namespace { */ struct PODMutex { - typedef ScopedLock<PODMutex> ScopedLock; + typedef ::qpid::sys::ScopedLock<PODMutex> ScopedLock; inline void lock(); inline void unlock(); |