diff options
Diffstat (limited to 'src/mongo/s/type_tags.h')
-rw-r--r-- | src/mongo/s/type_tags.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/type_tags.h b/src/mongo/s/type_tags.h index 6561e5ebe9b..95218e606c4 100644 --- a/src/mongo/s/type_tags.h +++ b/src/mongo/s/type_tags.h @@ -50,7 +50,7 @@ namespace mongo { * * // Process the response. * TagsType exampleType; - * string errMsg; + * std::string errMsg; * if (!exampleType.parseBSON(exampleDoc, &errMsg) || !exampleType.isValid(&errMsg)) { * // Can't use 'exampleType'. Take action. * } @@ -109,7 +109,7 @@ namespace mongo { void cloneTo(TagsType* 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; |