aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-29 20:57:44 +0200
committerMax Kellermann <max@duempel.org>2014-08-29 21:38:08 +0200
commit2ee821656f30d8dbd5369f26d5c9ae2c50188cb6 (patch)
tree45e36ee24c95bd5f85929cdc462b0a64e0b939d3
parent7556abb92d8743297c3a6faeb8a388265a850d8c (diff)
downloadmpd-2ee821656f30d8dbd5369f26d5c9ae2c50188cb6.tar.gz
mpd-2ee821656f30d8dbd5369f26d5c9ae2c50188cb6.tar.xz
mpd-2ee821656f30d8dbd5369f26d5c9ae2c50188cb6.zip
Chrono: rename ToScale() parameter
-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 {