summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_densify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/document_source_densify.cpp')
-rw-r--r--src/mongo/db/pipeline/document_source_densify.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/document_source_densify.cpp b/src/mongo/db/pipeline/document_source_densify.cpp
index d48c3bbfbf5..2d6dc1aacd3 100644
--- a/src/mongo/db/pipeline/document_source_densify.cpp
+++ b/src/mongo/db/pipeline/document_source_densify.cpp
@@ -110,7 +110,7 @@ REGISTER_DOCUMENT_SOURCE_CONDITIONALLY(
document_source_densify::createFromBson,
AllowedWithApiStrict::kNeverInVersion1,
AllowedWithClientType::kAny,
- ServerGlobalParams::FeatureCompatibility::Version::kVersion51,
+ multiversion::FeatureCompatibilityVersion::kVersion_5_1,
::mongo::feature_flags::gFeatureFlagDensify.isEnabledAndIgnoreFCV());
REGISTER_DOCUMENT_SOURCE_CONDITIONALLY(
@@ -119,7 +119,7 @@ REGISTER_DOCUMENT_SOURCE_CONDITIONALLY(
DocumentSourceInternalDensify::createFromBson,
AllowedWithApiStrict::kInternal,
AllowedWithClientType::kInternal,
- ServerGlobalParams::FeatureCompatibility::Version::kVersion51,
+ multiversion::FeatureCompatibilityVersion::kVersion_5_1,
::mongo::feature_flags::gFeatureFlagDensify.isEnabledAndIgnoreFCV());
namespace document_source_densify {