summaryrefslogtreecommitdiff
path: root/src/mongo/s/type_collection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/type_collection.h')
-rw-r--r--src/mongo/s/type_collection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/type_collection.h b/src/mongo/s/type_collection.h
index aa04b550cb6..8f1be36109a 100644
--- a/src/mongo/s/type_collection.h
+++ b/src/mongo/s/type_collection.h
@@ -50,7 +50,7 @@ namespace mongo {
*
* // Process the response.
* CollectionType exampleType;
- * string errMsg;
+ * std::string errMsg;
* if (!exampleType.parseBSON(exampleDoc, &errMsg) || !exampleType.isValid(&errMsg)) {
* // Can't use 'exampleType'. Take action.
* }
@@ -115,7 +115,7 @@ namespace mongo {
void cloneTo(CollectionType* 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;