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