From 2ee821656f30d8dbd5369f26d5c9ae2c50188cb6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 29 Aug 2014 20:57:44 +0200 Subject: Chrono: rename ToScale() parameter --- src/Chrono.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Chrono.hxx') 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 { -- cgit v1.2.3