mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +00:00
Another batch of ScopedPointer cleanups
This commit is contained in:
parent
5b13063162
commit
48a5fbd333
74 changed files with 311 additions and 292 deletions
|
|
@ -138,14 +138,14 @@ private:
|
|||
AndroidViewComponent::AndroidViewComponent() {}
|
||||
AndroidViewComponent::~AndroidViewComponent() {}
|
||||
|
||||
void AndroidViewComponent::setView (void* const view)
|
||||
void AndroidViewComponent::setView (void* view)
|
||||
{
|
||||
if (view != getView())
|
||||
{
|
||||
pimpl = nullptr;
|
||||
pimpl.reset();
|
||||
|
||||
if (view != nullptr)
|
||||
pimpl = new Pimpl ((jobject) view, *this);
|
||||
pimpl.reset (new Pimpl ((jobject) view, *this));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue