diff options
| author | Geert Bosch <geert@mongodb.com> | 2017-02-07 13:38:42 -0500 |
|---|---|---|
| committer | Geert Bosch <geert@mongodb.com> | 2017-02-16 13:48:14 -0500 |
| commit | fcb4bd6ea4655015baba72bada66a45a4f43f6aa (patch) | |
| tree | e43d1b8ab0ede6f20fd72a1466adb3caa67b1b72 /src/mongo/logger/console.cpp | |
| parent | b5d7f1023b03cb6ac65f9fa62f65a77146776071 (diff) | |
| download | mongo-fcb4bd6ea4655015baba72bada66a45a4f43f6aa.tar.gz | |
SERVER-27897 Remove uses of temporary RAII objects
Diffstat (limited to 'src/mongo/logger/console.cpp')
| -rw-r--r-- | src/mongo/logger/console.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/logger/console.cpp b/src/mongo/logger/console.cpp index ea8bd299e1d..93c98c052a9 100644 --- a/src/mongo/logger/console.cpp +++ b/src/mongo/logger/console.cpp @@ -236,7 +236,7 @@ std::ostream* windowsOutputStream = getWindowsOutputStream(); // first logging call writing via the Console will happen elsewhere in // the initalizer chain. MONGO_INITIALIZER(EnsureIosBaseInitConstructed)(InitializerContext*) { - Console(); + Console forInitializationOnly; return Status::OK(); } |
