1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fix warning on VS2015

This commit is contained in:
hogliux 2015-11-03 12:11:56 +00:00
parent 2d51b7d315
commit a039090f5c

View file

@ -976,13 +976,13 @@ public:
{
}
void changeListenerCallback (ChangeBroadcaster* source) override
void changeListenerCallback (ChangeBroadcaster* newSource) override
{
if (AudioTransportSource* currentTransport
= dynamic_cast<AudioTransportSource*> (getCurrentSource()))
{
ignoreUnused (source);
jassert (source == currentTransport);
ignoreUnused (newSource);
jassert (newSource == currentTransport);
if (! currentTransport->isPlaying())
{