summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/accumulation_statement.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/accumulation_statement.h')
-rw-r--r--src/mongo/db/pipeline/accumulation_statement.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/accumulation_statement.h b/src/mongo/db/pipeline/accumulation_statement.h
index 2d9ed8de52e..7144ada54fc 100644
--- a/src/mongo/db/pipeline/accumulation_statement.h
+++ b/src/mongo/db/pipeline/accumulation_statement.h
@@ -192,7 +192,7 @@ public:
static void registerAccumulator(
std::string name,
Parser parser,
- boost::optional<ServerGlobalParams::FeatureCompatibility::Version> requiredMinVersion);
+ boost::optional<multiversion::FeatureCompatibilityVersion> requiredMinVersion);
/**
* Retrieves the Parser for the accumulator specified by the given name, and raises an error if
@@ -201,7 +201,7 @@ public:
*/
static Parser& getParser(
StringData name,
- boost::optional<ServerGlobalParams::FeatureCompatibility::Version> allowedMaxVersion);
+ boost::optional<multiversion::FeatureCompatibilityVersion> allowedMaxVersion);
// The field name is used to store the results of the accumulation in a result document.
std::string fieldName;