1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed some incorrect documentation in the singleton macros

This commit is contained in:
jules 2017-12-14 14:14:57 +00:00
parent a156d12390
commit 89b4e13423

View file

@ -247,14 +247,11 @@ struct SingletonHolder : private MutexType // (inherited so we can use the empt
version of a singleton, where you're using it in very straightforward
circumstances and don't need the extra checking.
Just use the normal JUCE_IMPLEMENT_SINGLETON_SINGLETHREADED as the counterpart
to this declaration, as you would with JUCE_DECLARE_SINGLETON_SINGLETHREADED.
See the documentation for JUCE_DECLARE_SINGLETON for more information about
how to use it, the only difference being that you have to use
JUCE_IMPLEMENT_SINGLETON_SINGLETHREADED instead of JUCE_IMPLEMENT_SINGLETON.
how to use it. Just like JUCE_DECLARE_SINGLETON you need to also have a
corresponding JUCE_IMPLEMENT_SINGLETON statement somewhere in your code.
@see JUCE_IMPLEMENT_SINGLETON_SINGLETHREADED, JUCE_DECLARE_SINGLETON
@see JUCE_IMPLEMENT_SINGLETON, JUCE_DECLARE_SINGLETON
*/
#define JUCE_DECLARE_SINGLETON_SINGLETHREADED_MINIMAL(Classname) \
\