diff options
Diffstat (limited to 'src/mongo/base/status.cpp')
-rw-r--r-- | src/mongo/base/status.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/base/status.cpp b/src/mongo/base/status.cpp index 37dc2ea625a..b7f0b29302f 100644 --- a/src/mongo/base/status.cpp +++ b/src/mongo/base/status.cpp @@ -27,7 +27,6 @@ * it in the license file. */ -#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kControl #include <ostream> #include <sstream> @@ -38,6 +37,9 @@ #include "mongo/util/assert_util.h" #include "mongo/util/str.h" +#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kControl + + namespace mongo { Status& Status::addContext(StringData reasonPrefix) { |