Diffusion KWin e8efa8344407

scene: Pass non-trivial classes by const&

Authored by apol on Mar 13 2020, 4:41 PM.

Description

scene: Pass non-trivial classes by const&

Summary:
This will save the copy of some objects, especially PaintData classes that are
not copy-on-write.
It also follows the practice on other parts of the system.

Test Plan: Running it right now

Reviewers: KWin, davidedmundson

Reviewed By: KWin, davidedmundson

Subscribers: kwin

Tags: KWin

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

Details

Committed
apolMar 14 2020, 12:15 AM
Reviewer
KWin
Differential Revision
D28031: scene: Pass non-trivial classes by const&
Parents
R108:a97d4e099991: kcmkwin/scripts: make default button work
Branches
Unknown
Tags
Unknown