diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-20 19:00:36 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-20 19:00:36 +0100 |
commit | 80712f111e5b703f4f91b9bd55f4dbb14cb14829 (patch) | |
tree | 1ac1db46ae8cb595c39a09897a1fdcb98ae4cb2e /src/crepe/Component.h | |
parent | fb35ca64eee9afdd72f2cf8d279c4e745444baf9 (diff) |
remove copy/move constructors/operators on all components
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..6d405c7 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; |