diff options
author | Jason Carey <jcarey@argv.me> | 2019-04-12 10:49:51 -0400 |
---|---|---|
committer | Jason Carey <jcarey@argv.me> | 2019-04-12 14:35:15 -0400 |
commit | bcd4d1e1c274ebe13f657181418b086924c4da74 (patch) | |
tree | de1b8ca4e171f14c7ce0726675d722675dc002d0 /src | |
parent | f2335a729399f1b768e8fe123e3bbd473afcf983 (diff) | |
download | mongo-bcd4d1e1c274ebe13f657181418b086924c4da74.tar.gz |
SERVER-40414 Fix lack of iterator instantiation
If we're going to compare an iterator to a container, it must come from
that container.
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/executor/task_executor_cursor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/executor/task_executor_cursor.cpp b/src/mongo/executor/task_executor_cursor.cpp index 5609306077c..4d636b27be8 100644 --- a/src/mongo/executor/task_executor_cursor.cpp +++ b/src/mongo/executor/task_executor_cursor.cpp @@ -44,7 +44,7 @@ namespace executor { TaskExecutorCursor::TaskExecutorCursor(executor::TaskExecutor* executor, const RemoteCommandRequest& rcr, Options&& options) - : _executor(executor), _rcr(rcr), _options(std::move(options)) { + : _executor(executor), _rcr(rcr), _options(std::move(options)), _batchIter(_batch.end()) { if (rcr.opCtx) { _lsid = rcr.opCtx->getLogicalSessionId(); |