daniel
4
Not directly an answer, but a different approach:
a)
Have a look at the JUCE_DECLARE_SINGLETON macro.
You can declare a singleton quite simple and rely on their tested code.
or b)
Adding your settings manager as member to your Application and create a static access method:
1 Like