D20552: Don't use qAsConst over a temporary variable

David Faure noreply at phabricator.kde.org
Sun Apr 14 18:47:50 BST 2019


dfaure created this revision.
dfaure added reviewers: mlaurent, cfeck, apol.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
dfaure requested review of this revision.

REVISION SUMMARY
  (will crash because the temporary will be destroyed before being used)
  
  Detected with
  
    ag -sr qAsConst'\([^)]*\(' .

TEST PLAN
  builds

REPOSITORY
  R290 KPackage

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D20552

AFFECTED FILES
  src/kpackage/package.cpp

To: dfaure, mlaurent, cfeck, apol
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190414/c4e4ac6e/attachment.html>


More information about the Kde-frameworks-devel mailing list