diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2021-04-08 01:34:45 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-04-21 14:20:13 +0000 |
commit | edfe720bfe35c186f7f3f31dbb541ccb1f449d0a (patch) | |
tree | 14d4f019f17fc9277582869d2f3e70efcef371df /src/mongo/db/exec/text_or.cpp | |
parent | de3c2bf165ff5a1851be4e0be5e1ad6263aa15ba (diff) | |
download | mongo-edfe720bfe35c186f7f3f31dbb541ccb1f449d0a.tar.gz |
SERVER-55887 remove unowned_ptr
Diffstat (limited to 'src/mongo/db/exec/text_or.cpp')
-rw-r--r-- | src/mongo/db/exec/text_or.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/exec/text_or.cpp b/src/mongo/db/exec/text_or.cpp index f9f3d012358..d51316a51ee 100644 --- a/src/mongo/db/exec/text_or.cpp +++ b/src/mongo/db/exec/text_or.cpp @@ -255,7 +255,8 @@ PlanStage::StageState TextOrStage::addTerm(WorkingSetID wsid, WorkingSetID* out) // Our parent expects RID_AND_OBJ members, so we fetch the document here if we haven't // already. try { - if (!WorkingSetCommon::fetch(opCtx(), _ws, wsid, _recordCursor, collection()->ns())) { + if (!WorkingSetCommon::fetch( + opCtx(), _ws, wsid, _recordCursor.get(), collection()->ns())) { _ws->free(wsid); textRecordData->score = -1; return NEED_TIME; |