summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-12-04 17:43:47 +0000
committerSadie Powell <sadie@witchery.services>2020-12-04 18:06:42 +0000
commitffacccbb6fe800950af8b5914cbf5ebd3ecad99c (patch)
treeb909624c14dfcb52a816303afcc36fa72d992c56 /include
parenteda0e5e2f0509a3eea823f64c4acea8ac970b9a4 (diff)
Add a typedef for the data provider map.
Diffstat (limited to 'include')
-rw-r--r--include/modules.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index a6450547c..c4508d81a 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -1050,6 +1050,7 @@ class CoreExport Module : public classbase, public usecountbase
class CoreExport ModuleManager : public fakederef<ModuleManager>
{
public:
+ typedef std::multimap<std::string, ServiceProvider*, irc::insensitive_swo> DataProviderMap;
typedef std::vector<ServiceProvider*> ServiceList;
private:
@@ -1092,7 +1093,7 @@ class CoreExport ModuleManager : public fakederef<ModuleManager>
Module::List EventHandlers[I_END];
/** List of data services keyed by name */
- std::multimap<std::string, ServiceProvider*, irc::insensitive_swo> DataProviders;
+ DataProviderMap DataProviders;
/** A list of ServiceProviders waiting to be registered.
* Non-NULL when constructing a Module, NULL otherwise.