diff options
author | David Storch <david.storch@mongodb.com> | 2019-09-04 15:32:56 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-09-04 15:32:56 +0000 |
commit | b13188206e74dbeb66c4b663d83ed1d1f97c286b (patch) | |
tree | 01bcfe63112a9a4981a622a5370493d7d089a7a5 /src/mongo/db/exec/sort.h | |
parent | d9d50312ccdfcfb628d89f34c0dcda05c8f921bc (diff) | |
download | mongo-b13188206e74dbeb66c4b663d83ed1d1f97c286b.tar.gz |
SERVER-42852 Make PlanStage consistently hold children by unique_ptr.
Diffstat (limited to 'src/mongo/db/exec/sort.h')
-rw-r--r-- | src/mongo/db/exec/sort.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/sort.h b/src/mongo/db/exec/sort.h index adadc9ad121..8fc5827fe13 100644 --- a/src/mongo/db/exec/sort.h +++ b/src/mongo/db/exec/sort.h @@ -72,7 +72,7 @@ public: SortStage(OperationContext* opCtx, const SortStageParams& params, WorkingSet* ws, - PlanStage* child); + std::unique_ptr<PlanStage> child); ~SortStage(); bool isEOF() final; |