diff options
Diffstat (limited to 'absl/time')
-rw-r--r-- | absl/time/time.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/time/time.h b/absl/time/time.h index c01977b003eb..58f25e14ef94 100644 --- a/absl/time/time.h +++ b/absl/time/time.h @@ -361,7 +361,7 @@ Duration Hours(T n) { // Example: // // absl::Duration d = absl::Milliseconds(1500); -// int64_t isec = ToInt64Seconds(d); // isec == 1 +// int64_t isec = absl::ToInt64Seconds(d); // isec == 1 int64_t ToInt64Nanoseconds(Duration d); int64_t ToInt64Microseconds(Duration d); int64_t ToInt64Milliseconds(Duration d); @@ -383,7 +383,7 @@ int64_t ToInt64Hours(Duration d); // Example: // // absl::Duration d = absl::Milliseconds(1500); -// double dsec = ToDoubleSeconds(d); // dsec == 1.5 +// double dsec = absl::ToDoubleSeconds(d); // dsec == 1.5 double ToDoubleNanoseconds(Duration d); double ToDoubleMicroseconds(Duration d); double ToDoubleMilliseconds(Duration d); |