From 778abb7c279547afe7a4642063712f13a80b8eea Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Wed, 8 Nov 2017 12:55:58 -0800 Subject: [PATCH] Changes imported from Abseil "staging" branch: - 92c268e7400e97e201bfc15c85ed78ece4dd90a7 Add absl qualification to To{Int64,Double}Seconds() examp... by Abseil Team GitOrigin-RevId: 92c268e7400e97e201bfc15c85ed78ece4dd90a7 Change-Id: I236517ec3623222fbd9b6a290b7ee3925fa68490 --- absl/time/time.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/absl/time/time.h b/absl/time/time.h index c01977b0..58f25e14 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);