Browse Source

Fix build with gcc4

tags/2018-04-16
falkTX 5 years ago
parent
commit
77fbcbc9cb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ports/juce-opl/source/PluginProcessor.cpp

+ 1
- 1
ports/juce-opl/source/PluginProcessor.cpp View File

@@ -915,7 +915,7 @@ bool AdlibBlasterAudioProcessor::isChannelEnabled(const int idx) const {
void AdlibBlasterAudioProcessor::disableChannel(const int idx)
{
if (isChannelEnabled(idx)) {
std::deque<int>::const_iterator pos = std::find(available_channels.begin(), available_channels.end(), idx);
std::deque<int>::iterator pos = std::find(available_channels.begin(), available_channels.end(), idx);
if (pos != available_channels.end()) {
available_channels.erase(pos);
channel_enabled[idx] = false;


Loading…
Cancel
Save