summaryrefslogtreecommitdiffstats
path: root/modules/multiplayer
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-03-07 20:29:49 -0600
committerThaddeus Crews <repiteo@outlook.com>2024-03-07 22:39:09 -0600
commit9903e6779b70fc03aae70a37b9cf053f4f355b91 (patch)
tree16ee7fbb98471ff6b4f3ea97e9a9389ae33282ea /modules/multiplayer
parentaef11a14274f6f9e74ad91ead1d7c07ea1dd7f5f (diff)
downloadredot-engine-9903e6779b70fc03aae70a37b9cf053f4f355b91.tar.gz
Enforce template syntax `typename` over `class`
Diffstat (limited to 'modules/multiplayer')
-rw-r--r--modules/multiplayer/scene_replication_interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/multiplayer/scene_replication_interface.h b/modules/multiplayer/scene_replication_interface.h
index 31211bb108..cb582a2caf 100644
--- a/modules/multiplayer/scene_replication_interface.h
+++ b/modules/multiplayer/scene_replication_interface.h
@@ -112,7 +112,7 @@ private:
Error _update_spawn_visibility(int p_peer, const ObjectID &p_oid);
void _free_remotes(const PeerInfo &p_info);
- template <class T>
+ template <typename T>
static T *get_id_as(const ObjectID &p_id) {
return p_id.is_valid() ? Object::cast_to<T>(ObjectDB::get_instance(p_id)) : nullptr;
}