aboutsummaryrefslogtreecommitdiff
path: root/absl/time/duration.cc
diff options
context:
space:
mode:
Diffstat (limited to 'absl/time/duration.cc')
-rw-r--r--absl/time/duration.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/time/duration.cc b/absl/time/duration.cc
index b1af840..1353fa0 100644
--- a/absl/time/duration.cc
+++ b/absl/time/duration.cc
@@ -874,12 +874,12 @@ bool ParseDuration(const std::string& dur_string, Duration* d) {
++start;
}
- // Can't parse a duration from an empty std::string.
+ // Can't parse a duration from an empty string.
if (*start == '\0') {
return false;
}
- // Special case for a std::string of "0".
+ // Special case for a string of "0".
if (*start == '0' && *(start + 1) == '\0') {
*d = ZeroDuration();
return true;