diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-11-20 20:31:11 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-11-20 20:31:11 +0100 |
commit | 3a5a61399cea453c5fc25e3b999ef9a751fd4448 (patch) | |
tree | 5fd9d88d7e71696ffd7b52e956b44c3ade92dd81 /src/crepe/Component.h | |
parent | 5ec30d8915debef409f6db6f8ee9b822fb24d46b (diff) | |
parent | b6aea9de9c9c8d86856bcd6c3b521e385bc00a69 (diff) |
Merge branch 'master' of https://github.com/lonkaars/crepe into wouter/events
Diffstat (limited to 'src/crepe/Component.h')
-rw-r--r-- | src/crepe/Component.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/crepe/Component.h b/src/crepe/Component.h index 5279fb3..dc17721 100644 --- a/src/crepe/Component.h +++ b/src/crepe/Component.h @@ -27,6 +27,11 @@ protected: //! Only the ComponentManager can create components friend class ComponentManager; + Component(const Component &) = delete; + Component(Component &&) = delete; + virtual Component & operator=(const Component &) = delete; + virtual Component & operator=(Component &&) = delete; + public: virtual ~Component() = default; |