diff options
Diffstat (limited to 'src/mongo/db/rebuild_indexes.cpp')
-rw-r--r-- | src/mongo/db/rebuild_indexes.cpp | 4 |
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, |