From 45af29da8095af16729955117a165d23e77cd740 Mon Sep 17 00:00:00 2001 From: reduz Date: Thu, 19 May 2022 17:00:06 +0200 Subject: Add a new HashSet template * Intended to replace RBSet in most cases. * Optimized for iteration speed --- scene/multiplayer/scene_replication_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/multiplayer/scene_replication_interface.cpp') diff --git a/scene/multiplayer/scene_replication_interface.cpp b/scene/multiplayer/scene_replication_interface.cpp index 55266c53ad..19c69adb4a 100644 --- a/scene/multiplayer/scene_replication_interface.cpp +++ b/scene/multiplayer/scene_replication_interface.cpp @@ -316,7 +316,7 @@ Error SceneReplicationInterface::on_despawn_receive(int p_from, const uint8_t *p } void SceneReplicationInterface::_send_sync(int p_peer, uint64_t p_msec) { - const RBSet &known = rep_state->get_known_nodes(p_peer); + const HashSet &known = rep_state->get_known_nodes(p_peer); if (known.is_empty()) { return; } -- cgit v1.2.3