diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2012-11-08 16:11:00 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-08 22:47:42 +0100 |
commit | 5f915d0b91bbc3d8c8c31e99f4f6b9e7b341cd90 (patch) | |
tree | 377ae60ccf23793c8e8877c1f316d83dd1c80ef5 /src/corelib/thread | |
parent | 18553bc50de0bd3b34c4903ca21d108d22169936 (diff) |
QFutureInterface: Remove unused function
Following 731ba8ed08f80644b403556638c7f6229e678ebe this function is
not used anymore
Change-Id: Id908931b4b21c825bd80a4f03790630818c73c07
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Diffstat (limited to 'src/corelib/thread')
-rw-r--r-- | src/corelib/thread/qfutureinterface.cpp | 5 | ||||
-rw-r--r-- | src/corelib/thread/qfutureinterface.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/corelib/thread/qfutureinterface.cpp b/src/corelib/thread/qfutureinterface.cpp index e85f632fdf..bad55811fe 100644 --- a/src/corelib/thread/qfutureinterface.cpp +++ b/src/corelib/thread/qfutureinterface.cpp @@ -414,11 +414,6 @@ QFutureInterfaceBase &QFutureInterfaceBase::operator=(const QFutureInterfaceBase return *this; } -bool QFutureInterfaceBase::referenceCountIsOne() const -{ - return d->refCount.load() == 1; -} - bool QFutureInterfaceBase::refT() const { return d->refCount.refT(); diff --git a/src/corelib/thread/qfutureinterface.h b/src/corelib/thread/qfutureinterface.h index 3cbb9506ec..ea39c86f12 100644 --- a/src/corelib/thread/qfutureinterface.h +++ b/src/corelib/thread/qfutureinterface.h @@ -129,7 +129,6 @@ public: QFutureInterfaceBase &operator=(const QFutureInterfaceBase &other); protected: - bool referenceCountIsOne() const; bool refT() const; bool derefT() const; public: |