diff options
Diffstat (limited to 'src/mongo/bson/optime.h')
-rw-r--r-- | src/mongo/bson/optime.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/bson/optime.h b/src/mongo/bson/optime.h index 93093ab0be0..099520b6c41 100644 --- a/src/mongo/bson/optime.h +++ b/src/mongo/bson/optime.h @@ -102,20 +102,20 @@ namespace mongo { bool isNull() const { return secs == 0; } - string toStringLong() const { + std::string toStringLong() const { std::stringstream ss; ss << time_t_to_String_short(secs) << ' '; ss << std::hex << secs << ':' << i; return ss.str(); } - string toStringPretty() const { + std::string toStringPretty() const { std::stringstream ss; ss << time_t_to_String_short(secs) << ':' << std::hex << i; return ss.str(); } - string toString() const { + std::string toString() const { std::stringstream ss; ss << std::hex << secs << ':' << i; return ss.str(); |