diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-03-14 22:34:37 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-03-14 22:34:37 +0100 |
commit | 453485aede521b3c6d2d960bad94acc2eb90f177 (patch) | |
tree | dd7aa8b68791c8b20bce11906810b88a84293d5c /modules/multiplayer/scene_replication_interface.h | |
parent | 31acb61c16945244c2c2b61f6b3d663b40dce016 (diff) | |
parent | 9d7215e6affce6917601fd4059062a413d69a252 (diff) | |
download | redot-engine-453485aede521b3c6d2d960bad94acc2eb90f177.tar.gz |
Merge pull request #89270 from Repiteo/enforce-typename-in-templates
Enforce template syntax `typename` over `class`
Diffstat (limited to 'modules/multiplayer/scene_replication_interface.h')
-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; } |