diff options
Diffstat (limited to 'include/anope.h')
-rw-r--r-- | include/anope.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/anope.h b/include/anope.h index ee9797627..7ffc90729 100644 --- a/include/anope.h +++ b/include/anope.h @@ -336,9 +336,14 @@ namespace Anope } }; - template<typename T> class map : public std::map<string, T, ci::less> { }; - template<typename T> class multimap : public std::multimap<string, T, ci::less> { }; - template<typename T> class hash_map : public std::unordered_map<string, T, hash_ci, compare> { }; + template<typename T> + using map = std::map<string, T, ci::less>; + + template<typename T> + using multimap = std::multimap<string, T, ci::less>; + + template<typename T> + using hash_map = std::unordered_map<string, T, hash_ci, compare>; #ifndef REPRODUCIBLE_BUILD static const char *const compiled = __TIME__ " " __DATE__; |