diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-09-17 19:43:38 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-09-17 19:43:38 +0200 |
commit | 9bf381cabc9fb8f664e0f614f631c905f2d260d1 (patch) | |
tree | 11051e4d46471956c5ae54235d32481a7c8c8276 /src/svnqt | |
parent | e3e384659e22e77ec55d45ee4a5cb4e5ace86734 (diff) | |
download | tdesvn-9bf381cabc9fb8f664e0f614f631c905f2d260d1.tar.gz tdesvn-9bf381cabc9fb8f664e0f614f631c905f2d260d1.zip |
Fix inadvertly renamed QT_THREAD_SUPPORT
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/svnqt')
-rw-r--r-- | src/svnqt/smart_pointer.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/svnqt/smart_pointer.hpp b/src/svnqt/smart_pointer.hpp index f579160..4156e0a 100644 --- a/src/svnqt/smart_pointer.hpp +++ b/src/svnqt/smart_pointer.hpp @@ -20,7 +20,7 @@ #ifndef _smart_pointer_hpp #define _smart_pointer_hpp -#if defined TQT_THREAD_SUPPORT +#if defined QT_THREAD_SUPPORT #include "tqmutex.h" #endif @@ -41,27 +41,27 @@ class ref_count { protected: //! reference count member long m_RefCount; -#ifdef TQT_THREAD_SUPPORT +#ifdef QT_THREAD_SUPPORT TQMutex m_RefcountMutex; #endif public: //! first reference must be added after "new" via Pointer() ref_count() : m_RefCount(0) -#ifdef TQT_THREAD_SUPPORT +#ifdef QT_THREAD_SUPPORT ,m_RefcountMutex() #endif {} virtual ~ref_count() {} //! add a reference void Incr() { -#ifdef TQT_THREAD_SUPPORT +#ifdef QT_THREAD_SUPPORT TQMutexLocker a(&m_RefcountMutex); #endif ++m_RefCount; } //! delete a reference bool Decr() { -#ifdef TQT_THREAD_SUPPORT +#ifdef QT_THREAD_SUPPORT TQMutexLocker a(&m_RefcountMutex); #endif --m_RefCount; |