aboutsummaryrefslogtreecommitdiffstats
path: root/src/system/PeriodClock.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-06-21 16:01:44 +0200
committerMax Kellermann <max@duempel.org>2015-06-21 16:06:02 +0200
commit90e7ace980fcfe4f894cd8e882fbfd2efba0b57d (patch)
treeb4810dd7c6fb09329e0e2c986aa2e0c6cae579fd /src/system/PeriodClock.hxx
parent2b0a127fa565c3e78d3a1e11f0fc68547dc5a161 (diff)
parentb0ff3bc7a30674fe44e946e228e8c2facd8e8377 (diff)
downloadmpd-90e7ace980fcfe4f894cd8e882fbfd2efba0b57d.tar.gz
mpd-90e7ace980fcfe4f894cd8e882fbfd2efba0b57d.tar.xz
mpd-90e7ace980fcfe4f894cd8e882fbfd2efba0b57d.zip
Merge tag 'v0.19.10'
Diffstat (limited to '')
-rw-r--r--src/system/PeriodClock.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system/PeriodClock.hxx b/src/system/PeriodClock.hxx
index c189577f5..a9db4cea0 100644
--- a/src/system/PeriodClock.hxx
+++ b/src/system/PeriodClock.hxx
@@ -63,7 +63,7 @@ protected:
}
public:
- bool IsDefined() const {
+ constexpr bool IsDefined() const {
return last != 0;
}