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/test/ParticleTest.cpp | |
parent | fb35ca64eee9afdd72f2cf8d279c4e745444baf9 (diff) |
remove copy/move constructors/operators on all components
Diffstat (limited to 'src/test/ParticleTest.cpp')
-rw-r--r-- | src/test/ParticleTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ParticleTest.cpp b/src/test/ParticleTest.cpp index 4e655a9..d9bbba0 100644 --- a/src/test/ParticleTest.cpp +++ b/src/test/ParticleTest.cpp @@ -28,7 +28,7 @@ public: GameObject game_object = mgr.new_object("", "", Vector2{0, 0}, 0, 0); Color color(0, 0, 0, 0); - Sprite test_sprite = game_object.add_component<Sprite>( + Sprite & test_sprite = game_object.add_component<Sprite>( make_shared<Texture>("../asset/texture/img.png"), color, FlipSettings{true, true}); |