summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/expression_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/expression_context.h')
-rw-r--r--src/mongo/db/pipeline/expression_context.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/expression_context.h b/src/mongo/db/pipeline/expression_context.h
index e923a9e9f46..8a5b82f0254 100644
--- a/src/mongo/db/pipeline/expression_context.h
+++ b/src/mongo/db/pipeline/expression_context.h
@@ -394,8 +394,7 @@ public:
long long subPipelineDepth = 0;
// If set, this will disallow use of features introduced in versions above the provided version.
- boost::optional<ServerGlobalParams::FeatureCompatibility::Version>
- maxFeatureCompatibilityVersion;
+ boost::optional<multiversion::FeatureCompatibilityVersion> maxFeatureCompatibilityVersion;
// True if this ExpressionContext is used to parse a view definition pipeline.
bool isParsingViewDefinition = false;