Skip to content

Commit

Permalink
Fix MSVC compiler warning
Browse files Browse the repository at this point in the history
reg.: declaration of 'playback' hides class member (C4458)
  • Loading branch information
Jojo-Schmitz committed Feb 26, 2025
1 parent 08a8c06 commit 4baa46d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/playback/internal/playbackcontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -827,9 +827,9 @@ void PlaybackController::toggleHearPlaybackWhenEditing()

void PlaybackController::reloadPlaybackCache()
{
INotationPlaybackPtr playback = notationPlayback();
if (playback) {
playback->reload();
INotationPlaybackPtr nPlayback = notationPlayback();
if (nPlayback) {
nPlayback->reload();
}
}

Expand Down

0 comments on commit 4baa46d

Please sign in to comment.