summaryrefslogtreecommitdiff
path: root/src/mongo/db/rebuild_indexes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/rebuild_indexes.cpp')
-rw-r--r--src/mongo/db/rebuild_indexes.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/rebuild_indexes.cpp b/src/mongo/db/rebuild_indexes.cpp
index c2986396d6a..a872170de77 100644
--- a/src/mongo/db/rebuild_indexes.cpp
+++ b/src/mongo/db/rebuild_indexes.cpp
@@ -27,7 +27,6 @@
* it in the license file.
*/
-#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kStorage
#include "mongo/platform/basic.h"
@@ -41,6 +40,9 @@
#include "mongo/db/index/index_descriptor.h"
#include "mongo/db/index_builds_coordinator.h"
+#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kStorage
+
+
namespace mongo {
StatusWith<IndexNameObjs> getIndexNameObjs(const CollectionPtr& collection,