aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/util/time_test.cc
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-07-13 10:49:06 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-07-13 10:49:06 -0700
commit677c50c92a89870c479230d03fa4a93109310906 (patch)
treead6ad472491450aac35ea2fdd983239fd9251e61 /test/cpp/util/time_test.cc
parentec6a7fdef95e7c11d2ddef1c9ed3bc59c389f6ac (diff)
Update C++ impl
Diffstat (limited to 'test/cpp/util/time_test.cc')
-rw-r--r--test/cpp/util/time_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/util/time_test.cc b/test/cpp/util/time_test.cc
index 1770a80574..4cb6ec4b4e 100644
--- a/test/cpp/util/time_test.cc
+++ b/test/cpp/util/time_test.cc
@@ -46,7 +46,7 @@ class TimeTest : public ::testing::Test {};
TEST_F(TimeTest, AbsolutePointTest) {
long us = 10000000L;
- gpr_timespec ts = gpr_time_from_micros(us);
+ gpr_timespec ts = gpr_time_from_micros(us, GPR_TIMESPAN);
ts.clock_type = GPR_CLOCK_REALTIME;
system_clock::time_point tp{microseconds(us)};
system_clock::time_point tp_converted = Timespec2Timepoint(ts);