1
0
Fork 0
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:
jules 2017-12-31 10:49:33 +00:00
parent ef482e6c37
commit 85f74ca7d3
11 changed files with 59 additions and 77 deletions

View file

@ -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