D25022: Add some const &
Vlad Zahorodnii
noreply at phabricator.kde.org
Wed Oct 30 09:37:34 GMT 2019
zzag accepted this revision.
zzag added a comment.
This revision is now accepted and ready to land.
> For shared pointers instead of adding const & we move them into the destination variable saving some cpu usage but at the same time making clear the pointer is being stored by not being const &
It's worth to point out that smart pointers in Qt are not movable. So we'll still be copying shared pointers.
REPOSITORY
R108 KWin
BRANCH
arcpatch-D25022
REVISION DETAIL
https://phabricator.kde.org/D25022
To: aacid, zzag
Cc: zzag, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20191030/607e0a3d/attachment.html>
More information about the kwin
mailing list