Fix linux compile bug

changes/20/217520/1
Craig Tiller 10 years ago
parent 353d96ab26
commit 2f3fa9acff
  1. 2
      test/cpp/qps/timer.cc

@ -45,7 +45,7 @@ static double time_double(struct timeval* tv) {
Timer::Result Timer::Sample() {
struct rusage usage;
struct timeval tv;
gettimeofday(&tv, NULL);
gettimeofday(&tv, nullptr);
getrusage(RUSAGE_SELF, &usage);
Result r;

Loading…
Cancel
Save