diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-03-07 20:29:49 -0600 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-03-07 22:39:09 -0600 |
commit | 9903e6779b70fc03aae70a37b9cf053f4f355b91 (patch) | |
tree | 16ee7fbb98471ff6b4f3ea97e9a9389ae33282ea /modules/multiplayer | |
parent | aef11a14274f6f9e74ad91ead1d7c07ea1dd7f5f (diff) | |
download | redot-engine-9903e6779b70fc03aae70a37b9cf053f4f355b91.tar.gz |
Enforce template syntax `typename` over `class`
Diffstat (limited to 'modules/multiplayer')
-rw-r--r-- | modules/multiplayer/scene_replication_interface.h | 2 |
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; } |