diff options
author | Benoit Foucher <benoit@zeroc.com> | 2012-08-06 16:14:03 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2012-08-06 16:14:03 +0200 |
commit | 7047b953adab26c7098cbfaea2b69f9d36231cd3 (patch) | |
tree | 8668c830838184ebc465554b85c085da42fb6f6a /cpp/include/IceUtil/AbstractMutex.h | |
parent | Missing files (diff) | |
parent | Removed Stream::format method, replace with startWriteEncaps parameter (diff) | |
download | ice-7047b953adab26c7098cbfaea2b69f9d36231cd3.tar.bz2 ice-7047b953adab26c7098cbfaea2b69f9d36231cd3.tar.xz ice-7047b953adab26c7098cbfaea2b69f9d36231cd3.zip |
Merge remote-tracking branch 'origin/encoding11' into mx
Conflicts:
cpp/src/Ice/.depend
cpp/src/Ice/.depend.mak
cpp/src/slice2cpp/Gen.cpp
Diffstat (limited to 'cpp/include/IceUtil/AbstractMutex.h')
-rw-r--r-- | cpp/include/IceUtil/AbstractMutex.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/cpp/include/IceUtil/AbstractMutex.h b/cpp/include/IceUtil/AbstractMutex.h index 13fd6855234..c0805160a1e 100644 --- a/cpp/include/IceUtil/AbstractMutex.h +++ b/cpp/include/IceUtil/AbstractMutex.h @@ -7,8 +7,7 @@ // // ********************************************************************** -#ifndef ICE_UTIL_ABSTRACT_MUTEX_H -#define ICE_UTIL_ABSTRACT_MUTEX_H +#pragma once #include <IceUtil/Config.h> #include <IceUtil/Lock.h> @@ -36,10 +35,8 @@ class AbstractMutexI : public AbstractMutex, public T { public: -#ifndef __BCPLUSPLUS__ typedef LockT<AbstractMutexI> Lock; typedef TryLockT<AbstractMutexI> TryLock; -#endif virtual void lock() const { @@ -65,10 +62,8 @@ class AbstractMutexReadI : public AbstractMutex, public T { public: -#ifndef __BCPLUSPLUS__ typedef LockT<AbstractMutexReadI> Lock; typedef TryLockT<AbstractMutexReadI> TryLock; -#endif virtual void lock() const { @@ -94,10 +89,8 @@ class AbstractMutexWriteI : public AbstractMutex, public T { public: -#ifndef __BCPLUSPLUS__ typedef LockT<AbstractMutexWriteI> Lock; typedef TryLockT<AbstractMutexWriteI> TryLock; -#endif virtual void lock() const { @@ -120,5 +113,3 @@ public: } - -#endif |