diff --git a/snappy_unittest.cc b/snappy_unittest.cc index ca95e0d..6b2fd44 100644 --- a/snappy_unittest.cc +++ b/snappy_unittest.cc @@ -454,8 +454,8 @@ static void Measure(const char* data, } } - sort(ctime, ctime + kRuns); - sort(utime, utime + kRuns); + std::sort(ctime, ctime + kRuns); + std::sort(utime, utime + kRuns); const int med = kRuns/2; float comp_rate = (length / ctime[med]) * repeats / 1048576.0;