mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
XmlElement: Update loops to use new iterators
This commit is contained in:
parent
40f6ac7c47
commit
3baaad8b5b
27 changed files with 42 additions and 42 deletions
|
|
@ -1633,7 +1633,7 @@ private:
|
|||
{
|
||||
auto permissions = getPermissionsRequired();
|
||||
|
||||
forEachXmlChildElementWithTagName (manifest, child, "uses-permission")
|
||||
for (auto* child : manifest.getChildWithTagNameIterator ("uses-permission"))
|
||||
{
|
||||
permissions.removeString (child->getStringAttribute ("android:name"), false);
|
||||
}
|
||||
|
|
@ -1648,7 +1648,7 @@ private:
|
|||
{
|
||||
XmlElement* glVersion = nullptr;
|
||||
|
||||
forEachXmlChildElementWithTagName (manifest, child, "uses-feature")
|
||||
for (auto* child : manifest.getChildWithTagNameIterator ("uses-feature"))
|
||||
{
|
||||
if (child->getStringAttribute ("android:glEsVersion").isNotEmpty())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue