diff options
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 2e4ef7d..67bcc68 100644 --- a/src/crepe/Component.h +++ b/src/crepe/Component.h @@ -32,6 +32,11 @@ protected: //! Only 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; |