diff options
author | Ben Caimano <ben.caimano@mongodb.com> | 2019-12-09 20:35:12 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-12-09 20:35:12 +0000 |
commit | 64a9f0dcc098a8d6e0c3a381d56acee9909c3e58 (patch) | |
tree | 36811bc7f4a348ff843811c803cc435a86924cb3 /src/mongo/db/storage/kv | |
parent | 3dab501342b0fdec352dd8221ce470c930ffc91e (diff) | |
download | mongo-64a9f0dcc098a8d6e0c3a381d56acee9909c3e58.tar.gz |
SERVER-45027 Use more descriptive names for MONGO_MAKE_LATCH() invocations
Diffstat (limited to 'src/mongo/db/storage/kv')
-rw-r--r-- | src/mongo/db/storage/kv/kv_prefix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/kv/kv_prefix.cpp b/src/mongo/db/storage/kv/kv_prefix.cpp index 1a54a82f6a1..c6cb732ad9f 100644 --- a/src/mongo/db/storage/kv/kv_prefix.cpp +++ b/src/mongo/db/storage/kv/kv_prefix.cpp @@ -31,7 +31,7 @@ namespace mongo { int64_t KVPrefix::_nextValue = 0; -Mutex KVPrefix::_nextValueMutex = MONGO_MAKE_LATCH(); +Mutex KVPrefix::_nextValueMutex = MONGO_MAKE_LATCH("KVPrefix::_nextValueMutex"); const KVPrefix KVPrefix::kNotPrefixed = KVPrefix(-1); std::string KVPrefix::toString() const { |