diff options
author | Benety Goh <benety@mongodb.com> | 2015-10-19 14:47:25 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2015-10-22 15:27:17 -0400 |
commit | af53aef199dedb87212a1c90fd39a6c679b60df5 (patch) | |
tree | a1956d298f321ba0f1cfa6757e7930849eda9b55 /src/mongo/client/fetcher.h | |
parent | fd6d4f03054ccc1f6df634d7a9d5060186070e98 (diff) | |
download | mongo-af53aef199dedb87212a1c90fd39a6c679b60df5.tar.gz |
SERVER-20977 fetcher killCursors cleanup
Diffstat (limited to 'src/mongo/client/fetcher.h')
-rw-r--r-- | src/mongo/client/fetcher.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/client/fetcher.h b/src/mongo/client/fetcher.h index 21d42fa534d..dc85e496612 100644 --- a/src/mongo/client/fetcher.h +++ b/src/mongo/client/fetcher.h @@ -58,8 +58,6 @@ public: * If cursor ID is zero, there are no additional batches. */ struct QueryResponse { - QueryResponse() = default; - QueryResponse(CursorId theCursorId, const NamespaceString& theNss, Documents theDocuments); CursorId cursorId = 0; NamespaceString nss; Documents documents; @@ -67,7 +65,7 @@ public: BSONObj metadata; } otherFields; Milliseconds elapsedMillis = Milliseconds(0); - bool first; + bool first = false; }; using QueryResponseStatus = StatusWith<Fetcher::QueryResponse>; |