summaryrefslogtreecommitdiff
path: root/src/mongo/db/d_concurrency.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-10-10 11:34:01 -0400
committerEliot Horowitz <eliot@10gen.com>2012-10-10 11:34:19 -0400
commitf0c77e484c0f574b66966f36c76ac40dc93b5742 (patch)
tree09f5a46fb95649e7047c57ba9dd86f9d8e4d2cfd /src/mongo/db/d_concurrency.cpp
parent03e7e381365e903c1ac2ab28d74d8d3064e886b2 (diff)
downloadmongo-f0c77e484c0f574b66966f36c76ac40dc93b5742.tar.gz
use unordered_map for db level locks
Diffstat (limited to 'src/mongo/db/d_concurrency.cpp')
-rw-r--r--src/mongo/db/d_concurrency.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/d_concurrency.cpp b/src/mongo/db/d_concurrency.cpp
index 8d4186315cc..857bab870be 100644
--- a/src/mongo/db/d_concurrency.cpp
+++ b/src/mongo/db/d_concurrency.cpp
@@ -207,7 +207,7 @@ namespace mongo {
b.append("local", nestableLocks[Lock::local]->stats.report());
{
mapsf<string,WrapperForRWLock*>::ref r(dblocks);
- for( map<string,WrapperForRWLock*>::const_iterator i = r.r.begin(); i != r.r.end(); i++ ) {
+ for( unordered_map<string,WrapperForRWLock*>::const_iterator i = r.r.begin(); i != r.r.end(); i++ ) {
b.append(i->first, i->second->stats.report());
}
}