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:
parent
2e51654958
commit
8c38c6f57f
14 changed files with 53 additions and 61 deletions
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue