aboutsummaryrefslogtreecommitdiff
path: root/source/30-game/World.cpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-06-28 12:17:48 -0700
committerrtk0c <[email protected]>2022-06-28 12:17:48 -0700
commit6839736b8283a59eb743e1f6058c7d266a3e7f36 (patch)
treec9fafde01740753a93c3bf3830faa790b88b001c /source/30-game/World.cpp
parent8a244363c9171946aa6e4552ce0dcfc8edf761cb (diff)
Changeset: 78 Replace "class" keyword in templates with "typename"
Diffstat (limited to 'source/30-game/World.cpp')
-rw-r--r--source/30-game/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/30-game/World.cpp b/source/30-game/World.cpp
index d4a8344..5d3a8c5 100644
--- a/source/30-game/World.cpp
+++ b/source/30-game/World.cpp
@@ -6,7 +6,7 @@
#include <glad/glad.h>
namespace ProjectBrussel_UNITY_ID {
-template <class TFunction>
+template <typename TFunction>
void CallGameObjectRecursive(GameObject* start, TFunction&& func) {
PodVector<GameObject*> stack;
stack.push_back(start);