aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/timer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/cpp/qps/timer.cc')
-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;