summaryrefslogtreecommitdiff
path: root/src/mongo/unittest/benchmark_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/unittest/benchmark_main.cpp')
-rw-r--r--src/mongo/unittest/benchmark_main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/unittest/benchmark_main.cpp b/src/mongo/unittest/benchmark_main.cpp
index 060ab6f0f60..a2ead85fc8e 100644
--- a/src/mongo/unittest/benchmark_main.cpp
+++ b/src/mongo/unittest/benchmark_main.cpp
@@ -27,7 +27,6 @@
* it in the license file.
*/
-#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kTest
#include "mongo/platform/basic.h"
@@ -38,6 +37,8 @@
#include "mongo/logv2/log.h"
#include "mongo/util/signal_handlers_synchronous.h"
+#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kTest
+
int main(int argc, char** argv) {
::mongo::clearSignalMask();