summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/member_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/member_state.h')
-rw-r--r--src/mongo/db/repl/member_state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/member_state.h b/src/mongo/db/repl/member_state.h
index 587f729568d..d9c1801dd59 100644
--- a/src/mongo/db/repl/member_state.h
+++ b/src/mongo/db/repl/member_state.h
@@ -69,7 +69,7 @@ namespace mongo {
bool readable() const { return s == RS_PRIMARY || s == RS_SECONDARY; }
bool shunned() const { return s == RS_SHUNNED; }
- string toString() const;
+ std::string toString() const;
bool operator==(const MemberState& r) const { return s == r.s; }
bool operator!=(const MemberState& r) const { return s != r.s; }