diff options
| author | Adam <Adam@anope.org> | 2010-07-30 01:11:19 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-07-30 01:11:19 -0400 |
| commit | 8e6fe991810985fea085a4ace0ee906e80e7cbd1 (patch) | |
| tree | 2d171628f4a510df780f32ae46ccc8c262086560 /include/users.h | |
| parent | e353b15df8a5bcbf2de37ac4e2acf9e2812283e4 (diff) | |
Fixed some Windows issues with hashing and sockets. This currently limits building to VS 2010, will look at 2008 later
Diffstat (limited to 'include/users.h')
| -rw-r--r-- | include/users.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/users.h b/include/users.h index f545c15a1..2c10690c4 100644 --- a/include/users.h +++ b/include/users.h @@ -11,8 +11,8 @@ /* Hash maps used for users. Note UserListByUID will not be used on non-TS6 IRCds, and should never * be assumed to have users */ -typedef unordered_map_namespace::unordered_map<Anope::string, User *, ci::hash, std::less<ci::string> > user_map; -typedef unordered_map_namespace::unordered_map<Anope::string, User *, ci::hash, std::less<ci::string> > user_uid_map; +typedef unordered_map_namespace::unordered_map<Anope::string, User *, ci::hash, std::equal_to<ci::string> > user_map; +typedef unordered_map_namespace::unordered_map<Anope::string, User *, Anope::hash> user_uid_map; extern CoreExport user_map UserListByNick; extern CoreExport user_uid_map UserListByUID; |
