summaryrefslogtreecommitdiff
path: root/src/mongo/s/client/shard.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/client/shard.h')
-rw-r--r--src/mongo/s/client/shard.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/client/shard.h b/src/mongo/s/client/shard.h
index 3ef339cdbd7..d4ea6cedfc4 100644
--- a/src/mongo/s/client/shard.h
+++ b/src/mongo/s/client/shard.h
@@ -36,7 +36,7 @@
#include "mongo/client/read_preference.h"
#include "mongo/db/logical_time.h"
#include "mongo/db/namespace_string.h"
-#include "mongo/db/pipeline/aggregation_request.h"
+#include "mongo/db/pipeline/aggregation_request_helper.h"
#include "mongo/db/repl/optime.h"
#include "mongo/db/repl/read_concern_args.h"
#include "mongo/executor/remote_command_response.h"
@@ -217,7 +217,7 @@ public:
*/
virtual Status runAggregation(
OperationContext* opCtx,
- const AggregationRequest& aggRequest,
+ const AggregateCommand& aggRequest,
std::function<bool(const std::vector<BSONObj>& batch)> callback) = 0;
/**