diff --git a/src/corelib/tools/qset.h b/src/corelib/tools/qset.h index 30549840d02..cfa8bac6044 100644 --- a/src/corelib/tools/qset.h +++ b/src/corelib/tools/qset.h @@ -64,7 +64,7 @@ public: inline void clear() { q_hash.clear(); } - inline bool remove(const T &value) { return q_hash.remove(value) != 0; } + bool remove(const T &value) { return q_hash.remove(value); } template inline qsizetype removeIf(Pred predicate)