diff --git a/XML/src/XMLWriter.cpp b/XML/src/XMLWriter.cpp index 5ccaba0bf..0e9e1a255 100644 --- a/XML/src/XMLWriter.cpp +++ b/XML/src/XMLWriter.cpp @@ -710,7 +710,7 @@ void XMLWriter::declareNamespaces(const XMLString& namespaceURI, const XMLString { std::map > usedNamespaces; bool defaultNameSpaceUsed = false; - XMLString defaultNamespaceURI = _namespaces.getURI(std::string()); + XMLString defaultNamespaceURI = _namespaces.getURI(XMLString()); XMLString local; XMLString prefix; XMLString elementNamespaceURI = namespaceURI;