Diffusion KWin e144748c7a12

Add some const &

Authored by aacid on Oct 29 2019, 10:04 PM.

Description

Add some const &

Summary:
Won't make things go much faster since everything that was
being passed by value is refcounted but still const & is a bit faster
than refcounting

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 &

Reviewers: zzag

Reviewed By: zzag

Subscribers: zzag, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D25022

Details

Committed
aacidOct 30 2019, 6:23 PM
Reviewer
zzag
Differential Revision
D25022: Add some const &
Parents
R108:92197242ce54: Add support for virgl in GLPlatform
Branches
Unknown
Tags
Unknown