From 080ad535e6fc6666b919b1a21b6986aaf9b678eb Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Wed, 23 Oct 2024 21:27:01 +0200 Subject: initial nitpicking --- src/example/components_internal.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/example/components_internal.cpp') diff --git a/src/example/components_internal.cpp b/src/example/components_internal.cpp index ae6c765..3c68974 100644 --- a/src/example/components_internal.cpp +++ b/src/example/components_internal.cpp @@ -9,7 +9,6 @@ #include #include -#include #include #include #include @@ -36,14 +35,13 @@ int main() { game_object[i]->add_component("test"); game_object[i]->add_component(0, 0, i); - game_object[i]->add_component(i); } auto stop_adding = chrono::high_resolution_clock::now(); auto sprites = mgr.get_components_by_type(); - for (auto & sprite : sprites) { - assert(sprite.path == "test"); + for (auto sprite : sprites) { + assert(true); } auto stop_looping = chrono::high_resolution_clock::now(); -- cgit v1.2.3