aboutsummaryrefslogtreecommitdiffstats
path: root/src/system/PeriodClock.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/system/PeriodClock.hxx')
-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 1ba74ece2..2c535fee9 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;
}