diff --git a/src/corelib/tools/qrefcount.h b/src/corelib/tools/qrefcount.h index 698351456f..1d2474b6d8 100644 --- a/src/corelib/tools/qrefcount.h +++ b/src/corelib/tools/qrefcount.h @@ -101,15 +101,6 @@ public: return (count != 1) && (count != 0); } - inline bool operator==(int value) const - { return atomic.load() == value; } - inline bool operator!=(int value) const - { return atomic.load() != value; } - inline bool operator!() const - { return !atomic.load(); } - inline operator int() const - { return atomic.load(); } - void initializeOwned() { atomic.store(1); } void initializeUnsharable() { atomic.store(0); }