mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added flag JUCE_STRICT_REFCOUNTEDPOINTER which is recommended to avoid accidental leaks when using ref-counted pointers. Enabled this flag in the demo projects, and used it to help tidy up some dubious smart-pointer use
This commit is contained in:
parent
f80df37183
commit
49aa9c9db4
42 changed files with 345 additions and 209 deletions
|
|
@ -105,6 +105,10 @@
|
|||
#define JUCE_USE_CURL 1
|
||||
#endif
|
||||
|
||||
#ifndef JUCE_LOAD_CURL_SYMBOLS_LAZILY
|
||||
//#define JUCE_LOAD_CURL_SYMBOLS_LAZILY 0
|
||||
#endif
|
||||
|
||||
#ifndef JUCE_CATCH_UNHANDLED_EXCEPTIONS
|
||||
//#define JUCE_CATCH_UNHANDLED_EXCEPTIONS 1
|
||||
#endif
|
||||
|
|
@ -113,6 +117,10 @@
|
|||
#define JUCE_ALLOW_STATIC_NULL_VARIABLES 0
|
||||
#endif
|
||||
|
||||
#ifndef JUCE_STRICT_REFCOUNTEDPOINTER
|
||||
#define JUCE_STRICT_REFCOUNTEDPOINTER 1
|
||||
#endif
|
||||
|
||||
//==============================================================================
|
||||
// juce_events flags:
|
||||
|
||||
|
|
@ -131,6 +139,10 @@
|
|||
//#define JUCE_USE_DIRECTWRITE 1
|
||||
#endif
|
||||
|
||||
#ifndef JUCE_DISABLE_COREGRAPHICS_FONT_SMOOTHING
|
||||
//#define JUCE_DISABLE_COREGRAPHICS_FONT_SMOOTHING 0
|
||||
#endif
|
||||
|
||||
//==============================================================================
|
||||
// juce_gui_basics flags:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue