I have a class which inherits AudioSource.
From looking at a class from the Juce API which also inherits AudioSource I see that it uses a macro in the private section of the header.
where classname is the name of the class.
Do I need this?
If so, I really don’t know how do it. I have a problem with the namespace here, in particular using the namespace together with macros.
Wrapping the definitions of my class in
is not an option.
I tried this
but, no luck, I guess this does not work because JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR is a macro.
Can someone please help with this?