diff options
author | Mathias Stearn <mathias@10gen.com> | 2015-10-23 18:40:39 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2015-10-23 18:41:36 -0400 |
commit | 3d74ad6da4dfeb293cd77ae71583740f008e7007 (patch) | |
tree | 2b411526f50e2a81b3ec2c04a7332dab69766243 | |
parent | 8f062d2799eb310bb062675bbcd8e82da1b691a4 (diff) | |
download | mongo-3d74ad6da4dfeb293cd77ae71583740f008e7007.tar.gz |
SERVER-20906 fix compile
-rw-r--r-- | src/mongo/db/pipeline/pipeline_d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/pipeline_d.cpp b/src/mongo/db/pipeline/pipeline_d.cpp index 27eda2730f1..96933502977 100644 --- a/src/mongo/db/pipeline/pipeline_d.cpp +++ b/src/mongo/db/pipeline/pipeline_d.cpp @@ -167,7 +167,7 @@ shared_ptr<PlanExecutor> createRandomCursorExecutor(Collection* collection, collection, idIam, indexDescriptor->keyPattern(), - idxRandCursor.release()); + std::move(idxRandCursor)); stage = stdx::make_unique<FetchStage>( txn, ws.get(), idxIterator.release(), nullptr, collection); } |