D16023: [colorcorrection] Make GammaRamp non-copyable
Vlad Zagorodniy <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
zzag created this revision. zzag added a reviewer: KWin. Herald added a project: KWin. Herald added a subscriber: kwin. zzag requested review of this revision. REVISION 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. REPOSITORY R108 KWin BRANCH noncopyable-gamma-ramp REVISION DETAIL https://phabricator.kde.org/D16023 AFFECTED FILES colorcorrection/gammaramp.h To: zzag, #kwin Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart