diff options
author | Ben Caimano <ben.caimano@10gen.com> | 2021-02-02 15:35:06 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-02-09 17:06:15 +0000 |
commit | 07c6611b38d2aacbdb1846b688db70b3273170fb (patch) | |
tree | 3c5b2328e64f5d854498b8ec81cb3bd718854b21 | |
parent | 9c62a46ed4493a731350b4a3af26550cbb71d3d9 (diff) | |
download | mongo-r4.0.23.tar.gz |
SERVER-46740 Add missing reference characterr4.0.23-rc0r4.0.23
-rw-r--r-- | src/mongo/s/query/establish_cursors.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/query/establish_cursors.cpp b/src/mongo/s/query/establish_cursors.cpp index 82c12d79204..e29c2046f73 100644 --- a/src/mongo/s/query/establish_cursors.cpp +++ b/src/mongo/s/query/establish_cursors.cpp @@ -70,7 +70,7 @@ public: /** * Make a RequestSender and thus send requests. */ - void sendRequests(const ReadPreferenceSetting readPref, + void sendRequests(const ReadPreferenceSetting& readPref, const std::vector<std::pair<ShardId, BSONObj>>& remotes, Shard::RetryPolicy retryPolicy); @@ -115,7 +115,7 @@ private: std::vector<RemoteCursor> _remoteCursors; }; -void CursorEstablisher::sendRequests(const ReadPreferenceSetting readPref, +void CursorEstablisher::sendRequests(const ReadPreferenceSetting& readPref, const std::vector<std::pair<ShardId, BSONObj>>& remotes, Shard::RetryPolicy retryPolicy) { // Construct the requests |