fixed GH #1313: XML library compilation error

This commit is contained in:
Guenter Obiltschnig 2016-07-19 15:26:26 +02:00
parent 856a046e61
commit 0e19cea0fb

View File

@ -710,7 +710,7 @@ void XMLWriter::declareNamespaces(const XMLString& namespaceURI, const XMLString
{ {
std::map<XMLString, std::set<XMLString> > usedNamespaces; std::map<XMLString, std::set<XMLString> > usedNamespaces;
bool defaultNameSpaceUsed = false; bool defaultNameSpaceUsed = false;
XMLString defaultNamespaceURI = _namespaces.getURI(std::string()); XMLString defaultNamespaceURI = _namespaces.getURI(XMLString());
XMLString local; XMLString local;
XMLString prefixString; XMLString prefixString;
XMLString elementNamespaceURI = namespaceURI; XMLString elementNamespaceURI = namespaceURI;