Skip to content

Commit

Permalink
Add const-qualifiers to TransitionInfo.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmacha committed Oct 19, 2024
1 parent 3bcc535 commit cb49893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NH/Bass/TransitionInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace NH::Bass
return m_DefaultTransition;
}

void TransitionInfo::AddTransitionEffect(TransitionEffect effect, double duration, const std::string& filter)
void TransitionInfo::AddTransitionEffect(const TransitionEffect effect, const double duration, const std::string& filter)
{
Transition* transition = filter.empty() ? &m_DefaultTransition : GetFilteredTransition(filter);
transition->Effect = effect;
Expand Down

0 comments on commit cb49893

Please sign in to comment.