summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/sharded_agg_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/sharded_agg_helpers.h')
-rw-r--r--src/mongo/db/pipeline/sharded_agg_helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/sharded_agg_helpers.h b/src/mongo/db/pipeline/sharded_agg_helpers.h
index 1791411cdb4..45237dad4ce 100644
--- a/src/mongo/db/pipeline/sharded_agg_helpers.h
+++ b/src/mongo/db/pipeline/sharded_agg_helpers.h
@@ -139,7 +139,7 @@ BSONObj createPassthroughCommandForShard(
BSONObj createCommandForTargetedShards(const boost::intrusive_ptr<ExpressionContext>& expCtx,
Document serializedCommand,
const SplitPipeline& splitPipeline,
- const boost::optional<ShardedExchangePolicy> exchangeSpec,
+ boost::optional<ShardedExchangePolicy> exchangeSpec,
bool needsMerge,
boost::optional<BSONObj> readConcern = boost::none);