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

            Bug ID: 487849
           Summary: Is there any check for QMap creating an item by
                    default when using [] to reference an item?
    Classification: Developer tools
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

If you have a QMap and do if(yourMap[someKey]==someValue) it creates a map item
and later on a contains will find it despite the unintentional creation.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to