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

ContentSharer: Fix variable shadowing warnings in Android impl

This commit is contained in:
reuk 2025-04-08 20:04:24 +01:00
parent 63c6187fdf
commit 2f0b287ce7
No known key found for this signature in database

View file

@ -191,10 +191,10 @@ public:
// numOpenedHandles may get negative if we don't receive open handle event.
if (fileWasRead && numOpenedHandles <= 0)
{
MessageManager::callAsync ([fileObserver = fileObserver, onClose = onClose]
MessageManager::callAsync ([fo = fileObserver, oc = onClose]
{
getEnv()->CallVoidMethod (fileObserver, JuceContentProviderFileObserver.stopWatching);
NullCheckedInvocation::invoke (onClose);
getEnv()->CallVoidMethod (fo, JuceContentProviderFileObserver.stopWatching);
NullCheckedInvocation::invoke (oc);
});
}
}