1
0
Fork 0
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:
jules 2018-01-10 14:49:57 +00:00
parent 5b13063162
commit 48a5fbd333
74 changed files with 311 additions and 292 deletions

View file

@ -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));
}
}