summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/s2_bucket_access_method.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/index/s2_bucket_access_method.cpp')
-rw-r--r--src/mongo/db/index/s2_bucket_access_method.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/index/s2_bucket_access_method.cpp b/src/mongo/db/index/s2_bucket_access_method.cpp
index f838ad2a5e8..0da4cdc6f63 100644
--- a/src/mongo/db/index/s2_bucket_access_method.cpp
+++ b/src/mongo/db/index/s2_bucket_access_method.cpp
@@ -27,7 +27,6 @@
* it in the license file.
*/
-#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kIndex
#include "mongo/db/index/s2_bucket_access_method.h"
@@ -43,6 +42,9 @@
#include "mongo/db/jsobj.h"
#include "mongo/logv2/log.h"
+#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kIndex
+
+
namespace mongo {
static const string kIndexVersionFieldName("2dsphereIndexVersion");