You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2008/03/18 23:07:59 UTC
svn commit: r638604 - in /incubator/qpid/trunk/qpid/cpp/src/qpid/sys:
AtomicCount.h posix/Mutex.h
Author: aconway
Date: Tue Mar 18 15:07:58 2008
New Revision: 638604
URL: http://svn.apache.org/viewvc?rev=638604&view=rev
Log:
Qualify names to fix gcc 4.3 compile errors.
Modified:
incubator/qpid/trunk/qpid/cpp/src/qpid/sys/AtomicCount.h
incubator/qpid/trunk/qpid/cpp/src/qpid/sys/posix/Mutex.h
Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/sys/AtomicCount.h
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/sys/AtomicCount.h?rev=638604&r1=638603&r2=638604&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/sys/AtomicCount.h (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/sys/AtomicCount.h Tue Mar 18 15:07:58 2008
@@ -30,8 +30,8 @@
*/
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) {}
Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/sys/posix/Mutex.h
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/sys/posix/Mutex.h?rev=638604&r1=638603&r2=638604&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/sys/posix/Mutex.h (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/sys/posix/Mutex.h Tue Mar 18 15:07:58 2008
@@ -36,8 +36,8 @@
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 @@
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 @@
*/
struct PODMutex
{
- typedef ScopedLock<PODMutex> ScopedLock;
+ typedef ::qpid::sys::ScopedLock<PODMutex> ScopedLock;
inline void lock();
inline void unlock();