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 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;
}