From 5f915d0b91bbc3d8c8c31e99f4f6b9e7b341cd90 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Thu, 8 Nov 2012 16:11:00 +0200 Subject: QFutureInterface: Remove unused function Following 731ba8ed08f80644b403556638c7f6229e678ebe this function is not used anymore Change-Id: Id908931b4b21c825bd80a4f03790630818c73c07 Reviewed-by: Christian Stromme --- src/corelib/thread/qfutureinterface.cpp | 5 ----- src/corelib/thread/qfutureinterface.h | 1 - 2 files changed, 6 deletions(-) (limited to 'src/corelib/thread') 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: -- cgit v1.2.3