diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-07-16 12:32:47 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-07-16 12:32:47 +0200 |
commit | 7e0e54eba331339606265a8a4e11417bb2f832ba (patch) | |
tree | 42853fb81602676e3888c1c8dd95ca85ae34b2e0 /include | |
parent | 046da7da9bf57ac9254f76fd1c43eadf1673cdf5 (diff) |
Move typedef OperIndex to ServerConfig::OperIndex
Diffstat (limited to 'include')
-rw-r--r-- | include/configreader.h | 4 | ||||
-rw-r--r-- | include/typedefs.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/include/configreader.h b/include/configreader.h index 8615388d5..f3137ec0a 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -231,6 +231,10 @@ class CoreExport ServerConfig */ typedef std::vector<reference<ConnectClass> > ClassVector; + /** Index of valid oper blocks and types + */ + typedef std::map<std::string, reference<OperInfo> > OperIndex; + /** Get a configuration tag * @param tag The name of the tag to get */ diff --git a/include/typedefs.h b/include/typedefs.h index 85d86504f..8f9a64888 100644 --- a/include/typedefs.h +++ b/include/typedefs.h @@ -82,9 +82,6 @@ typedef ConfigDataHash::const_iterator ConfigIter; /** Iterator pair, used for tag-name ranges */ typedef std::pair<ConfigIter,ConfigIter> ConfigTagList; -/** Index of valid oper blocks and types */ -typedef std::map<std::string, reference<OperInfo> > OperIndex; - /** Files read by the configuration */ typedef std::map<std::string, file_cache> ConfigFileCache; |