Browse Source

Reverted the change to ValueTree::toXmlString(), as omitting the XML header could break existing code (will address this differently in a future commit)

tags/2021-05-28
jules 6 years ago
parent
commit
8166b0018d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_data_structures/values/juce_ValueTree.cpp

+ 1
- 1
modules/juce_data_structures/values/juce_ValueTree.cpp View File

@@ -1020,7 +1020,7 @@ String ValueTree::toXmlString() const
std::unique_ptr<XmlElement> xml (createXml()); std::unique_ptr<XmlElement> xml (createXml());
if (xml != nullptr) if (xml != nullptr)
return xml->createDocument ({}, false, false);
return xml->createDocument ({});
return {}; return {};
} }


Loading…
Cancel
Save