diff --git a/src/ossia/editor/scenario/time_interval.cpp b/src/ossia/editor/scenario/time_interval.cpp index d2a7701eeaf..1e8513d1075 100644 --- a/src/ossia/editor/scenario/time_interval.cpp +++ b/src/ossia/editor/scenario/time_interval.cpp @@ -133,7 +133,7 @@ void time_interval::tick_impl( if(new_date.impl - 1 > old_date.impl) { - auto d = ossia::time_value(new_date.impl - 1); + auto d = ossia::time_value{new_date.impl - 1}; const double num_quarters = d.impl / m_quarter_duration; auto [time, sig] = *ossia::last_before(m_timeSignature, d);