mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +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
|
|
@ -39,7 +39,7 @@ public:
|
|||
componentPeerChanged();
|
||||
}
|
||||
|
||||
~Pimpl()
|
||||
~Pimpl() override
|
||||
{
|
||||
removeFromParent();
|
||||
}
|
||||
|
|
@ -123,7 +123,7 @@ private:
|
|||
auto* env = getEnv();
|
||||
auto parentView = env->CallObjectMethod (view, AndroidView.getParent);
|
||||
|
||||
if (parentView != 0)
|
||||
if (parentView != nullptr)
|
||||
{
|
||||
// Assuming a parent is always of ViewGroup type
|
||||
env->CallVoidMethod (parentView, AndroidViewGroup.removeView, view.get());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue