summaryrefslogtreecommitdiff
path: root/util/top.h
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2009-02-09 16:33:07 -0500
committerDwight <dmerriman@gmail.com>2009-02-09 16:33:07 -0500
commita071a573c3353e0b3d10e5f92f135592e9c77368 (patch)
tree116e9dc38cf68641349cf6456b9838ab9b812237 /util/top.h
parent5390dbc920d050bb59787c5c9bc1bdba03d25191 (diff)
downloadmongo-a071a573c3353e0b3d10e5f92f135592e9c77368.tar.gz
compile windows
Diffstat (limited to 'util/top.h')
-rw-r--r--util/top.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/top.h b/util/top.h
index 05a4b30adc9..308adc26930 100644
--- a/util/top.h
+++ b/util/top.h
@@ -49,7 +49,7 @@ public:
for( map< string, D >::iterator i = snapshot_.begin(); i != snapshot_.end(); ++i )
sorted.insert( make_pair( i->second, i->first ) );
set< string > already;
- for( multimap< D, string >::iterator i = sorted.begin(); i != sorted.end(); ++i ) {
+ for( multimap< D, string, more >::iterator i = sorted.begin(); i != sorted.end(); ++i ) {
Usage u;
already.insert( i->second );
u.ns = i->second;
@@ -100,4 +100,4 @@ private:
static UsageMap &nextSnapshot_;
};
-} // namespace mongo \ No newline at end of file
+} // namespace mongo