[clazy] [Bug 355682] new check: test QList.count() must be replaced by !QList.isEmpty()

via KDE Bugzilla bugzilla_noreply at kde.org
Thu Feb 4 08:24:20 GMT 2016


https://bugs.kde.org/show_bug.cgi?id=355682

eric.lemanissier at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eric.lemanissier at gmail.com

--- Comment #3 from eric.lemanissier at gmail.com ---
The suggestion to replace container::count with !container::isEmpty works only
if there is no argument to container::count. Otherwise container::contains
should be suggested

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list