diff options
Diffstat (limited to 'src/mongo/dbtests/perftests.cpp')
-rw-r--r-- | src/mongo/dbtests/perftests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/perftests.cpp b/src/mongo/dbtests/perftests.cpp index 8eec55fe913..ba0004926b7 100644 --- a/src/mongo/dbtests/perftests.cpp +++ b/src/mongo/dbtests/perftests.cpp @@ -536,7 +536,7 @@ namespace PerfTests { #endif RWLock lk("testrw"); - SimpleMutex m("simptst"); + SimpleMutex m; boost::mutex mboost; boost::timed_mutex mboost_timed; std::mutex mstd; @@ -577,7 +577,7 @@ namespace PerfTests { virtual int howLongMillis() { return 500; } virtual bool showDurStats() { return false; } void timed() { - SimpleMutex::scoped_lock lk(m); + stdx::lock_guard<SimpleMutex> lk(m); } }; |