[libkwineffects] Use Q_DISABLE_COPY in AnimationEffect
Summary: AnimationEffect is an identity so delete copy constructor and copy assignment operator. Test Plan: Compiles. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D17838
This commit is contained in:
parent
3c2148a5fb
commit
09cf04eec4
1 changed files with 1 additions and 0 deletions
|
@ -399,6 +399,7 @@ private:
|
||||||
static QElapsedTimer s_clock;
|
static QElapsedTimer s_clock;
|
||||||
AnimationEffectPrivate * const d_ptr;
|
AnimationEffectPrivate * const d_ptr;
|
||||||
Q_DECLARE_PRIVATE(AnimationEffect)
|
Q_DECLARE_PRIVATE(AnimationEffect)
|
||||||
|
Q_DISABLE_COPY(AnimationEffect)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue