diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-05-16 12:49:59 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-05-16 12:49:59 +0100 |
| commit | d68f8ea668753f3472fa8bda62c4eead9059cbc0 (patch) | |
| tree | 99ed20e448f4816f32118ee7df0ef15b926e9c76 | |
| parent | 5b84b0fb445bc4485510bba516c84141aaeafd04 (diff) | |
internal: make CAnimatedVariable non-move non-copy
| -rw-r--r-- | src/helpers/AnimatedVariable.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/helpers/AnimatedVariable.hpp b/src/helpers/AnimatedVariable.hpp index eca9c74b..58efb956 100644 --- a/src/helpers/AnimatedVariable.hpp +++ b/src/helpers/AnimatedVariable.hpp @@ -32,6 +32,11 @@ class CAnimatedVariable { void create(ANIMATEDVARTYPE, SAnimationPropertyConfig*, void* pWindow, AVARDAMAGEPOLICY); void create(ANIMATEDVARTYPE, std::any val, SAnimationPropertyConfig*, void* pWindow, AVARDAMAGEPOLICY); + CAnimatedVariable(const CAnimatedVariable&) = delete; + CAnimatedVariable(CAnimatedVariable&&) = delete; + CAnimatedVariable& operator=(const CAnimatedVariable&) = delete; + CAnimatedVariable& operator=(CAnimatedVariable&&) = delete; + ~CAnimatedVariable(); void unregister(); |
