diff options
author | fiaxh <git@lightrise.org> | 2018-11-24 21:00:44 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2018-11-24 14:05:03 -0600 |
commit | 22340cb88e056211cd2e08036e7a1982e37c391b (patch) | |
tree | e35a39662c7292ad01f3a1ba64a7089e674a4b6a /libdino/src/service/module_manager.vala | |
parent | c44489214e040f48042d27254d4c18a78e343049 (diff) | |
download | dino-22340cb88e056211cd2e08036e7a1982e37c391b.tar.gz dino-22340cb88e056211cd2e08036e7a1982e37c391b.zip |
Always use Account.hash(equals)_func for HashMap+ArrayList
Diffstat (limited to 'libdino/src/service/module_manager.vala')
-rw-r--r-- | libdino/src/service/module_manager.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdino/src/service/module_manager.vala b/libdino/src/service/module_manager.vala index d16dc935..b9197f90 100644 --- a/libdino/src/service/module_manager.vala +++ b/libdino/src/service/module_manager.vala @@ -6,7 +6,7 @@ using Xmpp; namespace Dino { public class ModuleManager { - private HashMap<Account, ArrayList<XmppStreamModule>> module_map = new HashMap<Account, ArrayList<XmppStreamModule>>(); + private HashMap<Account, ArrayList<XmppStreamModule>> module_map = new HashMap<Account, ArrayList<XmppStreamModule>>(Account.hash_func, Account.equals_func); private EntityCapabilitiesStorage entity_capabilities_storage; |