I have a class with a private constructor & destructor, it compiled fine with JUCE 1.5, but now that i tried the tip, i get the following error:
error: ‘AudioSlot::~AudioSlot()’ is private
juce_amalgamated.h:962: error: within this context:
juce_amalgamated.h:6436: error: within this context:
juce_amalgamated.h:6477: error: within this context:
The class is declared as a friend like this:
friend class OwnedArray<AudioSlot>;
noob thanks in advance!