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

Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0

This commit is contained in:
jules 2018-05-09 16:47:21 +01:00
parent b3e76c7a41
commit 30f6206be9
19 changed files with 25 additions and 29 deletions

View file

@ -579,7 +579,7 @@ ValueTree::ValueTree() noexcept
{
}
JUCE_DECLARE_DEPRECATED_STATIC (const ValueTree ValueTree::invalid);
JUCE_DECLARE_DEPRECATED_STATIC (const ValueTree ValueTree::invalid;)
ValueTree::ValueTree (const Identifier& type) : object (new ValueTree::SharedObject (type))
{

View file

@ -592,7 +592,7 @@ public:
/* An invalid ValueTree that can be used if you need to return one as an error condition, etc.
@deprecated If you need an empty ValueTree object, just use ValueTree() or {}.
*/
JUCE_DEPRECATED_STATIC (static const ValueTree invalid);
JUCE_DEPRECATED_STATIC (static const ValueTree invalid;)
private:
//==============================================================================