diff options
author | Vijay Pai <vpai@google.com> | 2015-06-03 11:34:53 -0700 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2015-06-03 11:34:53 -0700 |
commit | 9dc5c15b563eae017a782a547d015d328fd015fe (patch) | |
tree | 12925d76b8eacb331fe5391a7476896f02266550 /src | |
parent | 8559485c23e4c452c0f8dcc5329c902cea12ec80 (diff) |
Account for time difference in mac and linux
Diffstat (limited to 'src')
-rw-r--r-- | src/cpp/util/time.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpp/util/time.cc b/src/cpp/util/time.cc index 83292e9338..beb58ef3f7 100644 --- a/src/cpp/util/time.cc +++ b/src/cpp/util/time.cc @@ -60,7 +60,7 @@ void Timepoint2Timespec(const system_clock::time_point& from, to->tv_nsec = nsecs.count(); } -void Timepoint2Timespec(const high_resolution_clock::time_point& from, +void TimepointHR2Timespec(const high_resolution_clock::time_point& from, gpr_timespec* to) { high_resolution_clock::duration deadline = from.time_since_epoch(); seconds secs = duration_cast<seconds>(deadline); |