mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
Clarified comments around the JUCE_ALLOW_STATIC_NULL_VARIABLES items to make clear that they're deprecated
This commit is contained in:
parent
ef482e6c37
commit
85f74ca7d3
11 changed files with 59 additions and 77 deletions
|
|
@ -688,12 +688,8 @@ ValueTree ValueTree::getSibling (int delta) const noexcept
|
|||
|
||||
static const var& getNullVarRef() noexcept
|
||||
{
|
||||
#if JUCE_ALLOW_STATIC_NULL_VARIABLES
|
||||
return var::null;
|
||||
#else
|
||||
static var nullVar;
|
||||
return nullVar;
|
||||
#endif
|
||||
}
|
||||
|
||||
const var& ValueTree::operator[] (const Identifier& name) const noexcept
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue