diff options
Diffstat (limited to 'src/mongo/executor')
-rw-r--r-- | src/mongo/executor/async_multicaster.h | 2 | ||||
-rw-r--r-- | src/mongo/executor/network_interface_mock.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/executor/async_multicaster.h b/src/mongo/executor/async_multicaster.h index 63eaaa4993d..400a7371f0a 100644 --- a/src/mongo/executor/async_multicaster.h +++ b/src/mongo/executor/async_multicaster.h @@ -66,7 +66,7 @@ public: * or * timeoutMillis * (servers.size() / maxConcurrency) - if not */ - std::vector<Reply> multicast(const std::vector<HostAndPort> servers, + std::vector<Reply> multicast(std::vector<HostAndPort> servers, const std::string& theDbName, const BSONObj& theCmdObj, OperationContext* opCtx, diff --git a/src/mongo/executor/network_interface_mock.h b/src/mongo/executor/network_interface_mock.h index 5d29786f091..ecbba32e7ae 100644 --- a/src/mongo/executor/network_interface_mock.h +++ b/src/mongo/executor/network_interface_mock.h @@ -238,7 +238,7 @@ public: * "when" defaults to now(). */ RemoteCommandRequest scheduleErrorResponse(const Status& response); - RemoteCommandRequest scheduleErrorResponse(const TaskExecutor::ResponseStatus response); + RemoteCommandRequest scheduleErrorResponse(TaskExecutor::ResponseStatus response); RemoteCommandRequest scheduleErrorResponse(NetworkOperationIterator noi, const Status& response); RemoteCommandRequest scheduleErrorResponse(NetworkOperationIterator noi, |