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
|
|
@ -152,7 +152,7 @@ PluginWindow* FilterGraph::getOrCreateWindowFor (AudioProcessorGraph::Node* node
|
|||
closeAnyOpenPluginWindows();
|
||||
#else
|
||||
for (auto* w : activePluginWindows)
|
||||
if (w->node == node && w->type == type)
|
||||
if (w->node.get() == node && w->type == type)
|
||||
return w;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue