diff --git a/src/corelib/tools/qset.h b/src/corelib/tools/qset.h index 6eaeb8fc417..d403a0416e1 100644 --- a/src/corelib/tools/qset.h +++ b/src/corelib/tools/qset.h @@ -61,7 +61,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)