kwin/effects/coverswitch
Albert Astals Cid e144748c7a 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
2019-10-30 19:23:01 +01:00
..
shaders
CMakeLists.txt
coverswitch.cpp
coverswitch.h
coverswitch.kcfg
coverswitch_config.cpp
coverswitch_config.desktop
coverswitch_config.h
coverswitch_config.ui
coverswitchconfig.kcfgc