aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2015-07-24 21:49:07 -0700
committerGravatar Yang Gao <yangg@google.com>2015-07-24 21:49:07 -0700
commite08cc80ea0eb0ff37ca14a435dc895f665c16a0c (patch)
treed84ffca9df12e2b0520b3e4f039e9e31e00a0995 /test
parent5749a3f467f6ef0a99e05c35d030c86591f2338e (diff)
parentd2a9b6da13d84e9e9cb75b56e0adc365a35b0ee0 (diff)
Merge pull request #2662 from vjpai/the_isolation_of_nullptr
Isolate nullptr to grpc namespace when we must define it ourselves
Diffstat (limited to 'test')
-rw-r--r--test/cpp/qps/timer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/qps/timer.cc b/test/cpp/qps/timer.cc
index 07289f699b..c1ba23decd 100644
--- a/test/cpp/qps/timer.cc
+++ b/test/cpp/qps/timer.cc
@@ -52,7 +52,7 @@ static double time_double(struct timeval* tv) {
Timer::Result Timer::Sample() {
struct rusage usage;
struct timeval tv;
- gettimeofday(&tv, nullptr);
+ gettimeofday(&tv, NULL);
getrusage(RUSAGE_SELF, &usage);
Result r;