aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Component.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-20 19:22:14 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-20 19:22:14 +0100
commit72c0ee97c24202bece3c11a64016bf0f4ce23341 (patch)
treefce9c18585f8888979a3586575c16089d4068bea /src/crepe/Component.h
parent700892e9a2801902da31835c0069ae27da54cf4c (diff)
parent80712f111e5b703f4f91b9bd55f4dbb14cb14829 (diff)
Merge branch 'master' into niels/RenderingParticle
Diffstat (limited to 'src/crepe/Component.h')
-rw-r--r--src/crepe/Component.h5
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;