summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/repl_set_request_votes_args.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/repl_set_request_votes_args.h')
-rw-r--r--src/mongo/db/repl/repl_set_request_votes_args.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/repl/repl_set_request_votes_args.h b/src/mongo/db/repl/repl_set_request_votes_args.h
index 7f1cf3bc72e..cc8d3f9e270 100644
--- a/src/mongo/db/repl/repl_set_request_votes_args.h
+++ b/src/mongo/db/repl/repl_set_request_votes_args.h
@@ -50,6 +50,7 @@ public:
bool isADryRun() const;
void addToBSON(BSONObjBuilder* builder) const;
+ std::string toString() const;
private:
std::string _setName; // Name of the replset.
@@ -75,6 +76,7 @@ public:
void addToBSON(BSONObjBuilder* builder) const;
BSONObj toBSON() const;
+ std::string toString() const;
private:
long long _term = -1;