summaryrefslogtreecommitdiff
path: root/src/mongo/logger
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-06-30 12:18:27 -0400
committerAndrew Morrow <acm@mongodb.com>2015-07-06 18:34:06 -0400
commit896c568ab136c9735482a59abcab499bda997565 (patch)
treea7fff3d50906cff75d2bc1f44e4a698658768994 /src/mongo/logger
parent6e7683cb836aa08b6df9aa2738774015236cd126 (diff)
downloadmongo-896c568ab136c9735482a59abcab499bda997565.tar.gz
SERVER-19099 Use std:: to back stdx polyfills
Diffstat (limited to 'src/mongo/logger')
-rw-r--r--src/mongo/logger/console.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/logger/console.cpp b/src/mongo/logger/console.cpp
index 90945ad7f21..d2f4cdc6ac8 100644
--- a/src/mongo/logger/console.cpp
+++ b/src/mongo/logger/console.cpp
@@ -228,6 +228,8 @@ std::ostream* windowsOutputStream = getWindowsOutputStream();
} // namespace
Console::Console() : _consoleLock() {
+ const std::ios_base::Init initializeCout;
+
if (consoleMutex) {
stdx::unique_lock<stdx::mutex> lk(*consoleMutex);
lk.swap(_consoleLock);