summaryrefslogtreecommitdiff
path: root/src/mongo/client/sdam/topology_description_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client/sdam/topology_description_test.cpp')
-rw-r--r--src/mongo/client/sdam/topology_description_test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/client/sdam/topology_description_test.cpp b/src/mongo/client/sdam/topology_description_test.cpp
index e812a6a2baf..acf42d6fcea 100644
--- a/src/mongo/client/sdam/topology_description_test.cpp
+++ b/src/mongo/client/sdam/topology_description_test.cpp
@@ -27,7 +27,6 @@
* it in the license file.
*/
-#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kDefault
#include "mongo/client/sdam/sdam_test_base.h"
#include "mongo/client/sdam/topology_description.h"
@@ -40,6 +39,9 @@
#include "mongo/logv2/log.h"
#include "mongo/unittest/death_test.h"
+#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kDefault
+
+
namespace mongo {
bool operator==(const TopologyVersion& a, const TopologyVersion& b) {