From 39d288f99f878fcaa0f43d659815686fbee667f5 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 9 Mar 2024 13:22:48 +0000 Subject: Rename hash_map to unordered_map to match the underlying container. --- include/account.h | 4 ++-- include/anope.h | 2 +- include/channels.h | 2 +- include/regchannel.h | 2 +- include/users.h | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/account.h b/include/account.h index 9a59cb913..714369152 100644 --- a/include/account.h +++ b/include/account.h @@ -17,8 +17,8 @@ #include "memo.h" #include "base.h" -typedef Anope::hash_map nickalias_map; -typedef Anope::hash_map nickcore_map; +typedef Anope::unordered_map nickalias_map; +typedef Anope::unordered_map nickcore_map; typedef std::unordered_map nickcoreid_map; extern CoreExport Serialize::Checker NickAliasList; diff --git a/include/anope.h b/include/anope.h index 000e74d1a..fd3728d84 100644 --- a/include/anope.h +++ b/include/anope.h @@ -343,7 +343,7 @@ namespace Anope using multimap = std::multimap; template - using hash_map = std::unordered_map; + using unordered_map = std::unordered_map; #ifndef REPRODUCIBLE_BUILD static const char *const compiled = __TIME__ " " __DATE__; diff --git a/include/channels.h b/include/channels.h index 4fecd9fc8..adecb4701 100644 --- a/include/channels.h +++ b/include/channels.h @@ -13,7 +13,7 @@ #include "modes.h" #include "serialize.h" -typedef Anope::hash_map channel_map; +typedef Anope::unordered_map channel_map; extern CoreExport channel_map ChannelList; diff --git a/include/regchannel.h b/include/regchannel.h index 4276333d5..6529124d1 100644 --- a/include/regchannel.h +++ b/include/regchannel.h @@ -16,7 +16,7 @@ #include "serialize.h" #include "bots.h" -typedef Anope::hash_map registered_channel_map; +typedef Anope::unordered_map registered_channel_map; extern CoreExport Serialize::Checker RegisteredChannelList; diff --git a/include/users.h b/include/users.h index e84d5336f..85435dd0f 100644 --- a/include/users.h +++ b/include/users.h @@ -19,7 +19,7 @@ #include "account.h" #include "sockets.h" -typedef Anope::hash_map user_map; +typedef Anope::unordered_map user_map; extern CoreExport user_map UserListByNick, UserListByUID; -- cgit