diff --git a/src/Chrono.hxx b/src/Chrono.hxx index 90e4a6927..66121db99 100644 --- a/src/Chrono.hxx +++ b/src/Chrono.hxx @@ -71,8 +71,8 @@ public: } template - 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 - 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 {