aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-11-05 13:27:12 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-11-05 13:27:12 +0100
commitefc5795029a6da3db116ef96676596832c6b8754 (patch)
tree00dc0ec8db2666f11adbdf4d7f33916dcb998af4 /src/crepe/api
parentb3e991afa5c3c362317616aad68e30889cf3ef40 (diff)
Replaced auto with concrete type
Diffstat (limited to 'src/crepe/api')
-rw-r--r--src/crepe/api/GameObject.cpp2
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);
}