diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-06 13:45:05 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-06 13:45:05 +0200 |
commit | 509fb6ebdd27bc75375c1c51024ea906e25032c0 (patch) | |
tree | 89ef8b7e72b25c30e42d73de08769a4402ef0716 /src/crepe/GameObject.hpp | |
parent | 7c9d3452c99fcb89ea6df55755e90f741b23cf10 (diff) |
WIP more code style enforcements
Diffstat (limited to 'src/crepe/GameObject.hpp')
-rw-r--r-- | src/crepe/GameObject.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crepe/GameObject.hpp b/src/crepe/GameObject.hpp index 5a672cf..1152ddf 100644 --- a/src/crepe/GameObject.hpp +++ b/src/crepe/GameObject.hpp @@ -8,8 +8,8 @@ namespace crepe { template <typename T, typename... Args> void GameObject::AddComponent(Args &&... args) { - ComponentManager::get_instance().AddComponent<T>(mId, std::forward<Args>(args)...); -} - + ComponentManager::get_instance().AddComponent<T>( + mId, std::forward<Args>(args)...); } +} // namespace crepe |