summaryrefslogtreecommitdiff
path: root/src/mongo/client/sdam/topology_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client/sdam/topology_manager.cpp')
-rw-r--r--src/mongo/client/sdam/topology_manager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/client/sdam/topology_manager.cpp b/src/mongo/client/sdam/topology_manager.cpp
index f52fcc32330..cd845d68d14 100644
--- a/src/mongo/client/sdam/topology_manager.cpp
+++ b/src/mongo/client/sdam/topology_manager.cpp
@@ -26,7 +26,6 @@
* exception statement from all source files in the program, then also delete
* it in the license file.
*/
-#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kNetwork
#include "mongo/client/sdam/topology_manager.h"
@@ -36,6 +35,9 @@
#include "mongo/logv2/log.h"
#include "mongo/rpc/topology_version_gen.h"
+#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kNetwork
+
+
namespace mongo::sdam {
namespace {