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

Added some free functions to help make XML parsing less verbose: parseXML()

This commit is contained in:
jules 2018-10-15 16:08:25 +01:00
parent 97c100b9c1
commit 768139a298
23 changed files with 116 additions and 94 deletions

View file

@ -422,7 +422,7 @@ private:
{
auto liveModules = project.getProjectRoot().getChildWithName (Ids::MODULES);
std::unique_ptr<XmlElement> xml (XmlDocument::parse (project.getFile()));
auto xml = parseXML (project.getFile());
if (xml == nullptr || ! xml->hasTagName (Ids::JUCERPROJECT.toString()))
return false;