From 37e21e9cb11630855f289407ac62bf292e4e293f Mon Sep 17 00:00:00 2001 From: tpoole Date: Thu, 20 Apr 2017 11:59:04 +0100 Subject: [PATCH] Fixed VS2013 compiler warning in SVGParser --- modules/juce_gui_basics/drawables/juce_SVGParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_gui_basics/drawables/juce_SVGParser.cpp b/modules/juce_gui_basics/drawables/juce_SVGParser.cpp index fd132ef847..ba546b9f35 100644 --- a/modules/juce_gui_basics/drawables/juce_SVGParser.cpp +++ b/modules/juce_gui_basics/drawables/juce_SVGParser.cpp @@ -1118,7 +1118,7 @@ private: return source; } - String getStyleAttribute (const XmlPath& xml, StringRef attributeName, const String& defaultValue = {}) const + String getStyleAttribute (const XmlPath& xml, StringRef attributeName, const String& defaultValue = String()) const { if (xml->hasAttribute (attributeName)) return xml->getStringAttribute (attributeName, defaultValue);