[clazy] [Bug 356755] New: detaching-member: don't warn when begin()/end() used in qSort
Nyall Dawson via KDE Bugzilla
bugzilla_noreply at kde.org
Tue Dec 15 22:45:14 GMT 2015
https://bugs.kde.org/show_bug.cgi?id=356755
Bug ID: 356755
Summary: detaching-member: don't warn when begin()/end() used
in qSort
Product: clazy
Version: unspecified
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: nyall.dawson at gmail.com
CC: smartins at kde.org
The following snippet shows a warning when using the detaching-member check:
qSort( list.begin(), list..end(), valueLessThan );
There's no way of avoiding a detachment in this case, so ideally no warning
would be shown.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list