https://bugs.kde.org/show_bug.cgi?id=408871
Bug ID: 408871 Summary: False positive with -Wclazy-qstring-left Product: clazy Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: woebbek...@kde.org CC: smart...@kde.org Target Milestone: --- Hi, the following code QString text; QStringList list; list.append(text.left(1)); gives me "warning: Use QString::at(0) instead of QString::left(1) to avoid temporary allocations". But append() needs a QString so there is no way to avoid the temporary. I'm using clazy 1.5. Cheers, André -- You are receiving this mail because: You are watching all bug changes.