mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-06 04:00:08 +00:00
Fixed some Android compiler warnings
This commit is contained in:
parent
645a538001
commit
670f77f80c
37 changed files with 170 additions and 169 deletions
|
|
@ -76,7 +76,7 @@ struct AndroidMessageQueue : private Android::Runnable
|
|||
{
|
||||
}
|
||||
|
||||
~AndroidMessageQueue()
|
||||
~AndroidMessageQueue() override
|
||||
{
|
||||
JUCE_ASSERT_MESSAGE_THREAD
|
||||
clearSingletonInstance();
|
||||
|
|
@ -156,14 +156,14 @@ void MessageManager::stopDispatchLoop()
|
|||
{
|
||||
jmethodID quitMethod = env->GetMethodID (AndroidActivity, "finishAndRemoveTask", "()V");
|
||||
|
||||
if (quitMethod != 0)
|
||||
if (quitMethod != nullptr)
|
||||
{
|
||||
env->CallVoidMethod (activity.get(), quitMethod);
|
||||
return;
|
||||
}
|
||||
|
||||
quitMethod = env->GetMethodID (AndroidActivity, "finish", "()V");
|
||||
jassert (quitMethod != 0);
|
||||
jassert (quitMethod != nullptr);
|
||||
env->CallVoidMethod (activity.get(), quitMethod);
|
||||
}
|
||||
else
|
||||
|
|
@ -195,7 +195,7 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
~JuceAppLifecycle()
|
||||
~JuceAppLifecycle() override
|
||||
{
|
||||
LocalRef<jobject> appContext (getAppContext());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue