scene: Pass non-trivial classes by const&
ClosedPublic

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

Details

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

Diff Detail

Repository
R108 KWin
Branch
master
Lint
Lint ErrorsExcuse: xxx
SeverityLocationCodeMessage
Errorinput.h:310CppcheckunknownMacro
Errorinput.h:310CppcheckunknownMacro
Unit
No Unit Test Coverage
Build Status
Buildable 23670
Build 23688: arc lint + arc unit
apol created this revision.Mar 13 2020, 4:42 PM
Restricted Application added a project: KWin. · View Herald TranscriptMar 13 2020, 4:42 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
apol requested review of this revision.Mar 13 2020, 4:42 PM
davidedmundson accepted this revision.Mar 13 2020, 4:51 PM
This revision is now accepted and ready to land.Mar 13 2020, 4:51 PM
This revision was automatically updated to reflect the committed changes.