summaryrefslogtreecommitdiff
path: root/src/mongo/unittest/golden_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/unittest/golden_test.cpp')
-rw-r--r--src/mongo/unittest/golden_test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/unittest/golden_test.cpp b/src/mongo/unittest/golden_test.cpp
index e14dff24419..678112feec2 100644
--- a/src/mongo/unittest/golden_test.cpp
+++ b/src/mongo/unittest/golden_test.cpp
@@ -27,7 +27,6 @@
* it in the license file.
*/
-#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kTest
#include <boost/filesystem.hpp>
#include <boost/iostreams/device/file_descriptor.hpp>
@@ -46,6 +45,9 @@
#include "mongo/logv2/log.h"
#include "mongo/unittest/golden_test.h"
#include "mongo/util/ctype.h"
+
+#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kTest
+
namespace mongo::unittest {
namespace fs = ::boost::filesystem;