diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-12-19 19:34:42 -0500 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-12-22 11:20:46 -0500 |
commit | 890051d8166e668442aff70cfcde3cb71ae6115f (patch) | |
tree | 6b585bc78ad164f6feadb03f8bbcef85377cacd0 /src/mongo/s/write_ops/batched_command_response.h | |
parent | 79352e71b697cb8c126510095bba7fd816128701 (diff) | |
download | mongo-890051d8166e668442aff70cfcde3cb71ae6115f.tar.gz |
SERVER-28992 Cleanup and remove unused code from write commands
No functional changes, just getting rid of some unnecessary overhead.
* Get rid of the extra TargetedBatchSizeMap during write command processing
* Do not use pointers in the write commands error tracking
* Remove unused code from the commands parsing
Diffstat (limited to 'src/mongo/s/write_ops/batched_command_response.h')
-rw-r--r-- | src/mongo/s/write_ops/batched_command_response.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/s/write_ops/batched_command_response.h b/src/mongo/s/write_ops/batched_command_response.h index 49579da74a1..844dde4daa3 100644 --- a/src/mongo/s/write_ops/batched_command_response.h +++ b/src/mongo/s/write_ops/batched_command_response.h @@ -68,9 +68,6 @@ public: BatchedCommandResponse(BatchedCommandResponse&&) = default; BatchedCommandResponse& operator=(BatchedCommandResponse&&) = default; - /** Copies all the fields present in 'this' to 'other'. */ - void cloneTo(BatchedCommandResponse* other) const; - bool isValid(std::string* errMsg) const; BSONObj toBSON() const; bool parseBSON(const BSONObj& source, std::string* errMsg); |