summaryrefslogtreecommitdiff
path: root/src/mongo/s/write_ops/batched_upsert_detail.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-12-19 19:34:42 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-12-22 11:20:46 -0500
commit890051d8166e668442aff70cfcde3cb71ae6115f (patch)
tree6b585bc78ad164f6feadb03f8bbcef85377cacd0 /src/mongo/s/write_ops/batched_upsert_detail.h
parent79352e71b697cb8c126510095bba7fd816128701 (diff)
downloadmongo-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_upsert_detail.h')
-rw-r--r--src/mongo/s/write_ops/batched_upsert_detail.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/s/write_ops/batched_upsert_detail.h b/src/mongo/s/write_ops/batched_upsert_detail.h
index 9c19167dc98..7a9c18b6927 100644
--- a/src/mongo/s/write_ops/batched_upsert_detail.h
+++ b/src/mongo/s/write_ops/batched_upsert_detail.h
@@ -29,9 +29,7 @@
#pragma once
#include <string>
-#include <vector>
-#include "mongo/base/string_data.h"
#include "mongo/db/jsobj.h"
namespace mongo {
@@ -56,7 +54,6 @@ public:
//
BatchedUpsertDetail();
- ~BatchedUpsertDetail();
/** Copies all the fields present in 'this' to 'other'. */
void cloneTo(BatchedUpsertDetail* other) const;
@@ -68,7 +65,6 @@ public:
BSONObj toBSON() const;
bool parseBSON(const BSONObj& source, std::string* errMsg);
void clear();
- std::string toString() const;
//
// individual field accessors