summaryrefslogtreecommitdiffstats
path: root/core/object/object.h
diff options
context:
space:
mode:
authormyaaaaaaaaa <103326468+myaaaaaaaaa@users.noreply.github.com>2023-01-30 11:46:56 -0500
committermyaaaaaaaaa <103326468+myaaaaaaaaa@users.noreply.github.com>2023-02-25 18:44:09 -0500
commit1ec5381c1612bd739e31aa2bd04ed287b5fe2aba (patch)
treeba7b09e2f9aa61931590a9cd36405f11a418dc6a /core/object/object.h
parent17a85973559fae0cd2c33d13c4b53f16cf7419ba (diff)
downloadredot-engine-1ec5381c1612bd739e31aa2bd04ed287b5fe2aba.tar.gz
Store Object signals in a HashMap rather than a VMap
Diffstat (limited to 'core/object/object.h')
-rw-r--r--core/object/object.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/object/object.h b/core/object/object.h
index 5ec69a371b..013bccb372 100644
--- a/core/object/object.h
+++ b/core/object/object.h
@@ -41,7 +41,6 @@
#include "core/templates/list.h"
#include "core/templates/rb_map.h"
#include "core/templates/safe_refcount.h"
-#include "core/templates/vmap.h"
#include "core/variant/callable_bind.h"
#include "core/variant/variant.h"
@@ -590,7 +589,7 @@ private:
};
MethodInfo user;
- VMap<Callable, Slot> slot_map;
+ HashMap<Callable, Slot, HashableHasher<Callable>> slot_map;
};
HashMap<StringName, SignalData> signal_map;