diff options
Diffstat (limited to 'src/mongo/s/type_database.h')
-rw-r--r-- | src/mongo/s/type_database.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/type_database.h b/src/mongo/s/type_database.h index cdfb5274fd3..28b68005b32 100644 --- a/src/mongo/s/type_database.h +++ b/src/mongo/s/type_database.h @@ -50,7 +50,7 @@ namespace mongo { * * // Process the response. * DatabaseType 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(DatabaseType* 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; |