diff options
author | scrubbed <scrubbed@scrubbed> | 2017-02-15 15:06:43 -0800 |
---|---|---|
committer | Victor Costan <pwnall@chromium.org> | 2017-03-08 11:42:30 -0800 |
commit | 039b3a7ace1ffe88e03218d59f8c370577e1bdf2 (patch) | |
tree | bd8956058579a506c30dc7d44ce8ca6c34cf94cb | |
parent | 3c706d22306efbd0d6ac050cb48179e1dcfbff7a (diff) | |
download | snappy-039b3a7ace1ffe88e03218d59f8c370577e1bdf2.tar.gz snappy-039b3a7ace1ffe88e03218d59f8c370577e1bdf2.tar.bz2 snappy-039b3a7ace1ffe88e03218d59f8c370577e1bdf2.zip |
Add std:: prefix to STL non-type names.
In order to disable global using declarations, this CL qualifies
stl names with the std namespace.
-rw-r--r-- | snappy_unittest.cc | 4 |
1 files 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; |