summaryrefslogtreecommitdiff
path: root/src/Chrono.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Chrono.hxx')
-rw-r--r--src/Chrono.hxx8
1 files changed, 4 insertions, 4 deletions
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<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 {