diff options
author | Peter Powell <petpow@saberuk.com> | 2019-02-19 18:32:49 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-02-19 20:59:04 +0000 |
commit | 74136695f88ded34f1413b546ad1b0699404bfe8 (patch) | |
tree | 1cb4b7a43e3b0144533185de7634dbfadf1ab6c9 /include | |
parent | f06502606e6e043487d9154ce4127e81e1181549 (diff) |
Fix erasing event subscribers erasing all with the same priority.
Diffstat (limited to 'include')
-rw-r--r-- | include/event.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/event.h b/include/event.h index 1bcb0a5ed..92bb4ffec 100644 --- a/include/event.h +++ b/include/event.h @@ -39,7 +39,7 @@ class Events::ModuleEventProvider : public ServiceProvider, private dynamic_refe bool operator()(ModuleEventListener* one, ModuleEventListener* two) const; }; - typedef insp::flat_multiset<ModuleEventListener*, Comp> SubscriberList; + typedef insp::flat_multiset<ModuleEventListener*, Comp, std::less<ModuleEventListener*> > SubscriberList; /** Constructor * @param mod Module providing the event(s) |