diff options
Diffstat (limited to 'src/Chrono.hxx')
-rw-r--r-- | src/Chrono.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Chrono.hxx b/src/Chrono.hxx index 521e03c35..90e4a6927 100644 --- a/src/Chrono.hxx +++ b/src/Chrono.hxx @@ -110,6 +110,11 @@ public: template<typename T> explicit constexpr SignedSongTime(T t):Base(t) {} + /** + * Allow implicit conversion from SongTime to SignedSongTime. + */ + constexpr SignedSongTime(SongTime t):Base(t) {} + static constexpr SignedSongTime zero() { return SignedSongTime(Base::zero()); } |