Fix const-correctness in FxMixer::channelSendModel

This commit is contained in:
Colin Wallace
2015-09-02 21:17:02 -07:00
parent 45c4aa6a68
commit cbf6d24e8f

View File

@@ -518,8 +518,8 @@ FloatModel * FxMixer::channelSendModel( fx_ch_t fromChannel, fx_ch_t toChannel )
{
return NULL;
}
FxChannel * from = m_fxChannels[fromChannel];
FxChannel * to = m_fxChannels[toChannel];
const FxChannel * from = m_fxChannels[fromChannel];
const FxChannel * to = m_fxChannels[toChannel];
foreach( FxRoute * route, from->m_sends )
{