https://bugs.kde.org/show_bug.cgi?id=382702
Bug ID: 382702
Summary: Comparison between QMap keys false positive
Product: clazy
Version: unspecified
Platform: MacPorts Packages
OS: OS X
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Hi,
I use clazy v1.2.
This code is detected as a container-anti-pattern :
QMap<int, int> map1;
QMap<int, int> map2;
bool res = map1.keys() == map2.keys();
but I don't see another way to do a comparison bewteen keys.
--
You are receiving this mail because:
You are watching all bug changes.