D6674: use an initializer list instead of calling insert a million times

Harald Sitter noreply at phabricator.kde.org
Thu Jul 13 10:09:25 UTC 2017


sitter created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.

REVISION SUMMARY
  looks nicer, is probably also more optimized, and allows us to tag the
  dict as const.

TEST PLAN
  builds and kaboutdatatest passes

REPOSITORY
  R244 KCoreAddons

BRANCH
  init-list

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

AFFECTED FILES
  src/lib/kaboutdata.cpp

To: sitter, mpyne
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170713/52660db6/attachment.html>


More information about the Kde-frameworks-devel mailing list