Chrono: convert SongTime to SignedSongTime implicitly
This commit is contained in:
parent
9fcaff749f
commit
8ce30c6a69
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user