Missed unique_ptr change in commit


#1

In file: juce_AudioUnitPluginFormat.mm

Line 2557

   #if JUCE_SUPPORT_CARBON
    if (w == nullptr)
    {
        w.reset (new AudioUnitPluginWindowCarbon (*this));

        if (! static_cast<AudioUnitPluginWindowCarbon*> (w.get())->isValid())
            w.reset();
    }
   #endif

Rail


#2

Thanks, I’ll get this fixed ASAP.


#3

Hi Tom,

I should have pointed out line 2560 as well.

w.reset();

Cheers,

Rail


#4

That shouldn’t be causing any problems; w = nullptr is equivalent.


#5

It was more a matter of coding style… you replaced the previous = nullptr with reset()

Cheers,

Rail