aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/GameObject.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/GameObject.hpp')
-rw-r--r--src/crepe/GameObject.hpp6
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