diff options
author | Max Kellermann <max@duempel.org> | 2015-06-20 15:33:17 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-06-20 15:33:17 +0200 |
commit | 980187f85643adbb67c95d72794fbe74e585acd5 (patch) | |
tree | 2f7c28bf4bfbdf97c5169bd0d1db1a4760225979 /src | |
parent | 327a8e6c5974f99ff1067afc2e725a2ebc2c4802 (diff) | |
download | mpd-980187f85643adbb67c95d72794fbe74e585acd5.tar.gz mpd-980187f85643adbb67c95d72794fbe74e585acd5.tar.xz mpd-980187f85643adbb67c95d72794fbe74e585acd5.zip |
system/PeriodClock: make IsDefined() "constexpr"
Diffstat (limited to 'src')
-rw-r--r-- | src/system/PeriodClock.hxx | 2 |
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; } |