1
0
mirror of https://github.com/google/benchmark.git synced 2025-04-30 06:50:27 +08:00

Remove unused FormatKV(..., size_t) overload.

This commit is contained in:
Jean-Louis Leroy 2015-09-25 09:37:03 -04:00
parent 0f5503e9a2
commit 11042c7fe7

View File

@ -44,12 +44,6 @@ std::string FormatKV(std::string const& key, int64_t value) {
return ss.str();
}
std::string FormatKV(std::string const& key, std::size_t value) {
std::stringstream ss;
ss << '"' << key << "\": " << value;
return ss.str();
}
int64_t RoundDouble(double v) {
return static_cast<int64_t>(v + 0.5);
}