diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-11-05 13:27:12 +0100 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-11-05 13:27:12 +0100 |
commit | efc5795029a6da3db116ef96676596832c6b8754 (patch) | |
tree | 00dc0ec8db2666f11adbdf4d7f33916dcb998af4 /src | |
parent | b3e991afa5c3c362317616aad68e30889cf3ef40 (diff) |
Replaced auto with concrete type
Diffstat (limited to 'src')
-rw-r--r-- | src/crepe/api/GameObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/GameObject.cpp b/src/crepe/api/GameObject.cpp index 708ff71..388f1c4 100644 --- a/src/crepe/api/GameObject.cpp +++ b/src/crepe/api/GameObject.cpp @@ -7,7 +7,7 @@ using namespace crepe::api; using namespace std; GameObject::GameObject(uint32_t id, std::string name, std::string tag, Point position, double rotation, double scale) : id(id) { - auto & mgr = ComponentManager::get_instance(); + ComponentManager & mgr = ComponentManager::get_instance(); mgr.add_component<Transform>(this->id, position, rotation, scale); mgr.add_component<Metadata>(this->id, name, tag); } |