Commit 09cf04ee authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

[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
parent 3c2148a5
......@@ -399,6 +399,7 @@ private:
static QElapsedTimer s_clock;
AnimationEffectPrivate * const d_ptr;
Q_DECLARE_PRIVATE(AnimationEffect)
Q_DISABLE_COPY(AnimationEffect)
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment