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

Marked as deprecated: String::empty, var::null, File::nonexistent, ValueTree::invalid and other problematic statically-initialised null values. Please just use the default constructor for these classes!

This commit is contained in:
jules 2018-05-08 14:19:00 +01:00
parent 2e51654958
commit 8c38c6f57f
14 changed files with 53 additions and 61 deletions

View file

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