aacid closed this revision.
REPOSITORY
R31 Breeze
REVISION DETAIL
https://phabricator.kde.org/D24614
To: aacid, zzag
Cc: zzag, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas,
GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed,
jensreuterberg, a
zzag accepted this revision.
zzag added a comment.
This revision is now accepted and ready to land.
> Add some const & for things that return const & so there's no need to make
a copy
For what it's worth, copy elision is guaranteed starting from C++17. \o/
REPOSITORY
R31 Breeze
BRANCH
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 an