diff options
Diffstat (limited to 'src/mongo/db/commands/distinct.cpp')
-rw-r--r-- | src/mongo/db/commands/distinct.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/distinct.cpp b/src/mongo/db/commands/distinct.cpp index 542f4e773b6..1895281af59 100644 --- a/src/mongo/db/commands/distinct.cpp +++ b/src/mongo/db/commands/distinct.cpp @@ -154,7 +154,7 @@ public: boost::optional<AutoGetCollectionForReadCommandMaybeLockFree> ctx; ctx.emplace(opCtx, CommandHelpers::parseNsCollectionRequired(dbName, cmdObj), - AutoGetCollectionViewMode::kViewsPermitted); + auto_get_collection::ViewMode::kViewsPermitted); const auto nss = ctx->getNss(); const ExtensionsCallbackReal extensionsCallback(opCtx, &nss); @@ -208,7 +208,7 @@ public: boost::optional<AutoGetCollectionForReadCommandMaybeLockFree> ctx; ctx.emplace(opCtx, CommandHelpers::parseNsOrUUID(dbName, cmdObj), - AutoGetCollectionViewMode::kViewsPermitted); + auto_get_collection::ViewMode::kViewsPermitted); const auto& nss = ctx->getNss(); if (!ctx->getView()) { |