D25022: Add some const &

Albert Astals Cid <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
aacid added inline comments.

INLINE COMMENTS

> zzag wrote in anidata.cpp:82-83
> Heh, the good old "should I pass a shared pointer by value or const reference?"
> 
> The reasoning why these are not passed by const ref is to express that AniData will share ownership of the locks.

fair enough, i'm now moving these ptrs instead of const &-ing them

REPOSITORY
  R108 KWin

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

To: aacid
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.