From d40280cec3ff590facd2f46b7f5d5054fd13db89 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 18 Mar 2008 22:07:58 +0000 Subject: 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 --- cpp/src/qpid/sys/AtomicCount.h | 4 ++-- cpp/src/qpid/sys/posix/Mutex.h | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'cpp/src') 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 ScopedDecrement; - typedef ScopedIncrement ScopedIncrement; + typedef ::qpid::sys::ScopedDecrement ScopedDecrement; + typedef ::qpid::sys::ScopedIncrement 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 ScopedLock; - typedef ScopedUnlock ScopedUnlock; + typedef ::qpid::sys::ScopedLock ScopedLock; + typedef ::qpid::sys::ScopedUnlock ScopedUnlock; inline Mutex(); inline ~Mutex(); @@ -57,8 +57,8 @@ class RWlock : private boost::noncopyable { friend class Condition; public: - typedef ScopedRlock ScopedRlock; - typedef ScopedWlock ScopedWlock; + typedef ::qpid::sys::ScopedRlock ScopedRlock; + typedef ::qpid::sys::ScopedWlock ScopedWlock; inline RWlock(); inline ~RWlock(); @@ -123,7 +123,7 @@ namespace { */ struct PODMutex { - typedef ScopedLock ScopedLock; + typedef ::qpid::sys::ScopedLock ScopedLock; inline void lock(); inline void unlock(); -- cgit v1.2.1