diff options
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 |