diff options
Diffstat (limited to 'src/mongo/executor/remote_command_request.h')
-rw-r--r-- | src/mongo/executor/remote_command_request.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mongo/executor/remote_command_request.h b/src/mongo/executor/remote_command_request.h index c6195311b69..0eb184e1d05 100644 --- a/src/mongo/executor/remote_command_request.h +++ b/src/mongo/executor/remote_command_request.h @@ -33,7 +33,6 @@ #include "mongo/db/jsobj.h" #include "mongo/rpc/metadata.h" -#include "mongo/rpc/request_interface.h" #include "mongo/util/net/hostandport.h" #include "mongo/util/time_support.h" @@ -78,17 +77,6 @@ struct RemoteCommandRequest { : RemoteCommandRequest( theTarget, theDbName, theCmdObj, rpc::makeEmptyMetadata(), opCtx, timeoutMillis) {} - RemoteCommandRequest(const HostAndPort& theTarget, - const rpc::RequestInterface& request, - OperationContext* opCtx, - Milliseconds timeoutMillis = kNoTimeout) - : RemoteCommandRequest(theTarget, - request.getDatabase().toString(), - request.getCommandArgs(), - request.getMetadata(), - opCtx, - timeoutMillis) {} - std::string toString() const; bool operator==(const RemoteCommandRequest& rhs) const; |