From 156906dca0b84d3fd3c889e1bcda12308b8fe793 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Thu, 7 Nov 2024 15:32:49 +0100 Subject: update clang-tidy configuration --- src/crepe/api/GameObject.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crepe/api/GameObject.hpp') diff --git a/src/crepe/api/GameObject.hpp b/src/crepe/api/GameObject.hpp index 7e6148c..bfba7fe 100644 --- a/src/crepe/api/GameObject.hpp +++ b/src/crepe/api/GameObject.hpp @@ -9,7 +9,7 @@ namespace crepe { template T & GameObject::add_component(Args &&... args) { ComponentManager & mgr = ComponentManager::get_instance(); - return mgr.add_component(this->ID, std::forward(args)...); + return mgr.add_component(this->id, std::forward(args)...); } } // namespace crepe -- cgit v1.2.3