From 8fbdfea01c5c5d95c6af55e9355e44083ef5866a Mon Sep 17 00:00:00 2001 From: Stepland <10530295-Buggyroom@users.noreply.gitlab.com> Date: Tue, 27 Dec 2022 14:00:54 +0100 Subject: [PATCH] Make a Fraction conversion explicit --- src/chart_state.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chart_state.cpp b/src/chart_state.cpp index 52b9ea3..2bb469a 100644 --- a/src/chart_state.cpp +++ b/src/chart_state.cpp @@ -237,7 +237,7 @@ void ChartState::insert_long_note_just_created(std::uint64_t snap) { } auto new_note = make_long_note_dummy_for_linear_view( *long_note_being_created, - snap + Fraction{snap} ); better::Notes new_notes; new_notes.insert(new_note);