mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-27 21:58:30 +01:00
Use string_adaptor::empty instead of trying to call .empty on the string object
This commit is contained in:
parent
7c0df3fbb5
commit
01ada020de
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ int prefix_mapper(std::basic_ostream<charT, traitsT>& stream,
|
||||||
{
|
{
|
||||||
//DOM::Node<stringT, string_adaptorT> attr = attrs.getNamedItem(*a);
|
//DOM::Node<stringT, string_adaptorT> attr = attrs.getNamedItem(*a);
|
||||||
const DOM::Node<stringT, string_adaptorT> attr = attrNodes[a];
|
const DOM::Node<stringT, string_adaptorT> attr = attrNodes[a];
|
||||||
if(attr.getNodeName().empty() ||
|
if(string_adaptorT::empty(attr.getNodeName()) ||
|
||||||
isXmlns<stringT, string_adaptorT, charT>(attr.getNodeName()) ||
|
isXmlns<stringT, string_adaptorT, charT>(attr.getNodeName()) ||
|
||||||
isXmlns<stringT, string_adaptorT, charT>(attr.getPrefix()))
|
isXmlns<stringT, string_adaptorT, charT>(attr.getPrefix()))
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue