summaryrefslogtreecommitdiff
path: root/src/mongo/db/stats/top.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-12-10 15:17:32 -0500
committerEliot Horowitz <eliot@10gen.com>2012-12-10 15:17:32 -0500
commit4a5a2afbe2ca352dd518d733274538a27760ac0b (patch)
treeeb9527d53beff3582e5a426b3370c8cd792a02fa /src/mongo/db/stats/top.h
parent96d64fa57c8c464d6a724dfdf99453758406447e (diff)
downloadmongo-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.h4
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 );