diff options
| author | Adam <Adam@anope.org> | 2012-11-05 22:17:47 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2012-11-06 11:02:12 -0500 |
| commit | 53b2bdfe5e157a9e5ca5d08873edebcd04511ae1 (patch) | |
| tree | f94c8603ffe475405ea668c629eddd7c8ba0891e /modules/commands/os_session.h | |
| parent | 27ab6a686cb271ea8eae7a243906af5bebeb83d7 (diff) | |
Use std::tr1::unordered_map for a few of the larger maps
Diffstat (limited to 'modules/commands/os_session.h')
| -rw-r--r-- | modules/commands/os_session.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_session.h b/modules/commands/os_session.h index ee37a7594..070975fd2 100644 --- a/modules/commands/os_session.h +++ b/modules/commands/os_session.h @@ -27,7 +27,7 @@ struct Exception : Serializable class SessionService : public Service { public: - typedef std::map<cidr, Session *> SessionMap; + typedef std::tr1::unordered_map<cidr, Session *, cidr::hash> SessionMap; typedef std::vector<Exception *> ExceptionVector; SessionService(Module *m) : Service(m, "SessionService", "session") { } |
