diff --git a/modules/juce_core/xml/juce_XmlElement.h b/modules/juce_core/xml/juce_XmlElement.h index d6a6ab08c8..d9d1497f69 100644 --- a/modules/juce_core/xml/juce_XmlElement.h +++ b/modules/juce_core/xml/juce_XmlElement.h @@ -726,7 +726,7 @@ public: } @endcode */ - Iterator getChildWithTagNameIterator (const String& name) const + Iterator getChildWithTagNameIterator (StringRef name) const { return Iterator { getChildByName (name), name }; }