From 039b3a7ace1ffe88e03218d59f8c370577e1bdf2 Mon Sep 17 00:00:00 2001 From: scrubbed Date: Wed, 15 Feb 2017 15:06:43 -0800 Subject: [PATCH] Add std:: prefix to STL non-type names. In order to disable global using declarations, this CL qualifies stl names with the std namespace. --- snappy_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;