mirror of https://github.com/google/snappy.git
Add std:: prefix to STL non-type names.
In order to disable global using declarations, this CL qualifies stl names with the std namespace.
This commit is contained in:
parent
3c706d2230
commit
039b3a7ace
|
@ -454,8 +454,8 @@ static void Measure(const char* data,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sort(ctime, ctime + kRuns);
|
std::sort(ctime, ctime + kRuns);
|
||||||
sort(utime, utime + kRuns);
|
std::sort(utime, utime + kRuns);
|
||||||
const int med = kRuns/2;
|
const int med = kRuns/2;
|
||||||
|
|
||||||
float comp_rate = (length / ctime[med]) * repeats / 1048576.0;
|
float comp_rate = (length / ctime[med]) * repeats / 1048576.0;
|
||||||
|
|
Loading…
Reference in New Issue