[colorcorrection] Make GammaRamp non-copyable
ClosedPublic

Authored by zzag on Oct 7 2018, 5:55 PM.

Details

Summary

GammaRamp deletes an array in the destructor thus we have to either
declare our own copy constructor and copy assignment operator or
delete them both.

GammaRamp looks more like an identity rather than a value so both copy
constructor and copy assignment operator were deleted.

Test Plan

Compiles.

Diff Detail

Repository
R108 KWin
Branch
noncopyable-gamma-ramp
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 3601
Build 3619: arc lint + arc unit
zzag created this revision.Oct 7 2018, 5:55 PM
Restricted Application added a project: KWin. · View Herald TranscriptOct 7 2018, 5:55 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Oct 7 2018, 5:55 PM
romangg accepted this revision.Oct 7 2018, 5:57 PM
This revision is now accepted and ready to land.Oct 7 2018, 5:57 PM
This revision was automatically updated to reflect the committed changes.