summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/expression_context.h
diff options
context:
space:
mode:
authorVishnu Kaushik <vishnu.kaushik@mongodb.com>2021-09-01 21:36:37 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-09-01 22:56:22 +0000
commit1a0f9486eb228065434d439fc417762c33aab4b7 (patch)
treedfbae9a0391a1a1f04dddade347e418edb1b030e /src/mongo/db/pipeline/expression_context.h
parent41bb7c7fb877f475f73265fe7c811e4e811ad174 (diff)
downloadmongo-1a0f9486eb228065434d439fc417762c33aab4b7.tar.gz
SERVER-58344 Remove ServerGlobalParams::FeatureCompatibility and replace references with generated FCV constants
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;