From 330458e81f9baa3f936d639dc3edbe1a8c4c5a32 Mon Sep 17 00:00:00 2001 From: Billy Donahue Date: Thu, 5 May 2022 21:27:32 +0000 Subject: SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includes --- src/mongo/db/commands/find_cmd.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mongo/db/commands/find_cmd.cpp') diff --git a/src/mongo/db/commands/find_cmd.cpp b/src/mongo/db/commands/find_cmd.cpp index 7cb770d21c5..9c46f14d1f1 100644 --- a/src/mongo/db/commands/find_cmd.cpp +++ b/src/mongo/db/commands/find_cmd.cpp @@ -27,7 +27,6 @@ * it in the license file. */ -#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kQuery #include "mongo/platform/basic.h" @@ -66,6 +65,9 @@ #include "mongo/rpc/get_status_from_command_result.h" #include "mongo/util/fail_point.h" +#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kQuery + + namespace mongo { namespace { -- cgit v1.2.1