diff options
author | Eliot Horowitz <eliot@10gen.com> | 2012-10-10 11:34:01 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2012-10-10 11:34:19 -0400 |
commit | f0c77e484c0f574b66966f36c76ac40dc93b5742 (patch) | |
tree | 09f5a46fb95649e7047c57ba9dd86f9d8e4d2cfd /src/mongo/db/d_concurrency.cpp | |
parent | 03e7e381365e903c1ac2ab28d74d8d3064e886b2 (diff) | |
download | mongo-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.cpp | 2 |
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()); } } |