From cbf6d24e8f2fd8bddc2f8734775177f00ca28729 Mon Sep 17 00:00:00 2001 From: Colin Wallace Date: Wed, 2 Sep 2015 21:17:02 -0700 Subject: [PATCH] Fix const-correctness in FxMixer::channelSendModel --- src/core/FxMixer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/FxMixer.cpp b/src/core/FxMixer.cpp index 07b3cd694..47f00a2cc 100644 --- a/src/core/FxMixer.cpp +++ b/src/core/FxMixer.cpp @@ -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 ) {