Skip to content

Commit

Permalink
Const correctness
Browse files Browse the repository at this point in the history
  • Loading branch information
gvnnz committed Dec 4, 2024
1 parent a882d55 commit 00bbe01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/actions/actionRecorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ void ActionRecorder::recordMidiAction(ID channelId, int note, float velocity, Fr

/* Avoid frame overflow. */

Frame overflow = f2 - framesInLoop;
const Frame overflow = f2 - framesInLoop;
if (overflow > 0)
{
f2 -= overflow;
Expand Down

0 comments on commit 00bbe01

Please sign in to comment.