D24614: Micro optimizations

Albert Astals Cid noreply at phabricator.kde.org
Sun Oct 13 17:34:18 BST 2019


aacid created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
aacid requested review of this revision.

REVISION SUMMARY
  Add some const & for things that return const & so there's no need to make a copy
  Add a std::move for a thing that we pass by copy and it's just saved in another variable

REPOSITORY
  R31 Breeze

BRANCH
  master

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

AFFECTED FILES
  kstyle/animations/breezescrollbarengine.cpp
  kstyle/breezeframeshadow.cpp
  kstyle/breezehelper.cpp
  kstyle/breezemdiwindowshadow.cpp
  kstyle/breezemdiwindowshadow.h
  kstyle/breezestyle.cpp

To: aacid
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191013/023c3b14/attachment.html>


More information about the Plasma-devel mailing list