From 3c7f43bc2cf5419b4061bd55351a1894a0e32152 Mon Sep 17 00:00:00 2001 From: Mathias Stearn Date: Fri, 31 Mar 2017 21:11:55 -0400 Subject: SERVER-28508 Delete unused DocumentRange rpc cruft --- src/mongo/rpc/command_request.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/mongo/rpc/command_request.h') diff --git a/src/mongo/rpc/command_request.h b/src/mongo/rpc/command_request.h index a39d7374533..92106915143 100644 --- a/src/mongo/rpc/command_request.h +++ b/src/mongo/rpc/command_request.h @@ -30,7 +30,6 @@ #include "mongo/base/string_data.h" #include "mongo/db/jsobj.h" -#include "mongo/rpc/document_range.h" #include "mongo/rpc/protocol.h" #include "mongo/rpc/request_interface.h" @@ -74,18 +73,6 @@ public: */ const BSONObj& getCommandArgs() const final; - /** - * A variable number of BSON documents to pass to the command. It is valid for - * the returned range to be empty. - * - * Example usage: - * - * for (auto&& doc : req.getInputDocs()) { - * ... do stuff with doc - * } - */ - DocumentRange getInputDocs() const final; - Protocol getProtocol() const final; friend bool operator==(const CommandRequest& lhs, const CommandRequest& rhs); @@ -97,7 +84,6 @@ private: StringData _commandName; BSONObj _commandArgs; BSONObj _metadata; - DocumentRange _inputDocs; }; } // namespace rpc -- cgit v1.2.1