summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/skip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/skip.h')
-rw-r--r--src/mongo/db/exec/skip.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/exec/skip.h b/src/mongo/db/exec/skip.h
index c885f275f31..8751cb22471 100644
--- a/src/mongo/db/exec/skip.h
+++ b/src/mongo/db/exec/skip.h
@@ -44,7 +44,10 @@ namespace mongo {
*/
class SkipStage final : public PlanStage {
public:
- SkipStage(OperationContext* opCtx, long long toSkip, WorkingSet* ws, PlanStage* child);
+ SkipStage(OperationContext* opCtx,
+ long long toSkip,
+ WorkingSet* ws,
+ std::unique_ptr<PlanStage> child);
~SkipStage();
bool isEOF() final;