diff options
author | Eliot Horowitz <eliot@10gen.com> | 2012-12-10 15:17:32 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2012-12-10 15:17:32 -0500 |
commit | 4a5a2afbe2ca352dd518d733274538a27760ac0b (patch) | |
tree | eb9527d53beff3582e5a426b3370c8cd792a02fa /src/mongo/db/stats/top.h | |
parent | 96d64fa57c8c464d6a724dfdf99453758406447e (diff) | |
download | mongo-4a5a2afbe2ca352dd518d733274538a27760ac0b.tar.gz |
SERVER-7886 use UnorderedFastKeyTable in Top
Diffstat (limited to 'src/mongo/db/stats/top.h')
-rw-r--r-- | src/mongo/db/stats/top.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/stats/top.h b/src/mongo/db/stats/top.h index 4742f5eb96c..2a326f38806 100644 --- a/src/mongo/db/stats/top.h +++ b/src/mongo/db/stats/top.h @@ -19,7 +19,7 @@ #include <boost/date_time/posix_time/posix_time.hpp> -#include "mongo/platform/unordered_map.h" +#include "mongo/util/string_map.h" namespace mongo { @@ -63,7 +63,7 @@ namespace mongo { UsageData commands; }; - typedef unordered_map<string,CollectionData> UsageMap; + typedef StringMap<CollectionData> UsageMap; public: void record( const StringData& ns , int op , int lockType , long long micros , bool command ); |