diff options
Diffstat (limited to 'src/mongo/util/concurrency/idle_thread_block.cpp')
-rw-r--r-- | src/mongo/util/concurrency/idle_thread_block.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/util/concurrency/idle_thread_block.cpp b/src/mongo/util/concurrency/idle_thread_block.cpp index 2886a24edd7..64426a47774 100644 --- a/src/mongo/util/concurrency/idle_thread_block.cpp +++ b/src/mongo/util/concurrency/idle_thread_block.cpp @@ -36,7 +36,7 @@ namespace mongo { namespace for_debuggers { // This needs external linkage to ensure that debuggers can use it. thread_local const char* idleThreadLocation = nullptr; -} +} // namespace for_debuggers using for_debuggers::idleThreadLocation; void IdleThreadBlock::beginIdleThreadBlock(const char* location) { @@ -48,4 +48,4 @@ void IdleThreadBlock::endIdleThreadBlock() { invariant(idleThreadLocation); idleThreadLocation = nullptr; } -} +} // namespace mongo |