diff options
Diffstat (limited to 'src/mongo/db/exec/limit.h')
-rw-r--r-- | src/mongo/db/exec/limit.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/exec/limit.h b/src/mongo/db/exec/limit.h index 61f2e3d1476..f807838b540 100644 --- a/src/mongo/db/exec/limit.h +++ b/src/mongo/db/exec/limit.h @@ -45,7 +45,10 @@ namespace mongo { */ class LimitStage final : public PlanStage { public: - LimitStage(OperationContext* opCtx, long long limit, WorkingSet* ws, PlanStage* child); + LimitStage(OperationContext* opCtx, + long long limit, + WorkingSet* ws, + std::unique_ptr<PlanStage> child); ~LimitStage(); bool isEOF() final; |