Chrono: rename ToScale() parameter

This commit is contained in:
Max Kellermann 2014-08-29 20:57:44 +02:00
parent 7556abb92d
commit 2ee821656f

View File

@ -71,8 +71,8 @@ public:
}
template<typename T=rep>
constexpr T ToScale(unsigned base) const {
return count() * T(base) / 1000;
constexpr T ToScale(unsigned scale) const {
return count() * T(scale) / 1000;
}
constexpr double ToDoubleS() const {
@ -159,8 +159,8 @@ public:
}
template<typename T=rep>
constexpr T ToScale(unsigned base) const {
return count() * T(base) / 1000;
constexpr T ToScale(unsigned scale) const {
return count() * T(scale) / 1000;
}
constexpr double ToDoubleS() const {