diff options
author | Mathias Stearn <mathias@10gen.com> | 2017-03-31 21:11:55 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2017-04-12 08:57:12 -0400 |
commit | 3c7f43bc2cf5419b4061bd55351a1894a0e32152 (patch) | |
tree | 6bb35fe4cc6444298e127af1eaeb3fa83f02495d /src/mongo/rpc/command_request.h | |
parent | c739baf5366cbd987bf61acc29a54f56e209a3b7 (diff) | |
download | mongo-3c7f43bc2cf5419b4061bd55351a1894a0e32152.tar.gz |
SERVER-28508 Delete unused DocumentRange rpc cruft
Diffstat (limited to 'src/mongo/rpc/command_request.h')
-rw-r--r-- | src/mongo/rpc/command_request.h | 14 |
1 files changed, 0 insertions, 14 deletions
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 |