summaryrefslogtreecommitdiff
path: root/src/mongo/s/type_locks.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/type_locks.h')
-rw-r--r--src/mongo/s/type_locks.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/type_locks.h b/src/mongo/s/type_locks.h
index 5a96b282f0b..379fb7d5d3d 100644
--- a/src/mongo/s/type_locks.h
+++ b/src/mongo/s/type_locks.h
@@ -50,7 +50,7 @@ namespace mongo {
*
* // Process the response.
* LocksType exampleType;
- * string errMsg;
+ * std::string errMsg;
* if (!exampleType.parseBSON(exampleDoc, &errMsg) || !exampleType.isValid(&errMsg)) {
* // Can't use 'exampleType'. Take action.
* }
@@ -111,7 +111,7 @@ namespace mongo {
void cloneTo(LocksType* other) const;
/**
- * Returns a string representation of the current internal state.
+ * Returns a std::string representation of the current internal state.
*/
std::string toString() const;