mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Remove VS2015 workarounds
This commit is contained in:
parent
2fdc4f6633
commit
f582c84c37
4 changed files with 41 additions and 62 deletions
|
|
@ -91,9 +91,9 @@ void BufferingAudioSource::releaseResources()
|
|||
|
||||
buffer.setSize (numberOfChannels, 0);
|
||||
|
||||
// MSVC2015 seems to need this if statement to not generate a warning during linking.
|
||||
// MSVC2017 seems to need this if statement to not generate a warning during linking.
|
||||
// As source is set in the constructor, there is no way that source could
|
||||
// ever equal this, but it seems to make MSVC2015 happy.
|
||||
// ever equal this, but it seems to make MSVC2017 happy.
|
||||
if (source != this)
|
||||
source->releaseResources();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue