mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-14 08:01:49 +01:00
add typename qualifiers
This commit is contained in:
parent
63a1d869c2
commit
06eca85b75
2 changed files with 2 additions and 2 deletions
|
@ -135,7 +135,7 @@ private:
|
||||||
if(std::find(current_includes_.begin(), current_includes_.end(), href) != current_includes_.end())
|
if(std::find(current_includes_.begin(), current_includes_.end(), href) != current_includes_.end())
|
||||||
{
|
{
|
||||||
std::string error = "Stylesheet '" + string_adaptor::asStdString(href) + "' includes/imports itself ";
|
std::string error = "Stylesheet '" + string_adaptor::asStdString(href) + "' includes/imports itself ";
|
||||||
for(HrefStack::const_iterator i = current_includes_.begin(), ie = current_includes_.end(); i != ie; ++i)
|
for(typename HrefStack::const_iterator i = current_includes_.begin(), ie = current_includes_.end(); i != ie; ++i)
|
||||||
error += "\n " + string_adaptor::asStdString(*i);
|
error += "\n " + string_adaptor::asStdString(*i);
|
||||||
throw std::runtime_error(error);
|
throw std::runtime_error(error);
|
||||||
} // if ...
|
} // if ...
|
||||||
|
|
|
@ -61,7 +61,7 @@ protected:
|
||||||
{
|
{
|
||||||
if(has_select_)
|
if(has_select_)
|
||||||
{
|
{
|
||||||
for(string_type::const_iterator i = ch.begin(), e = ch.end(); i != e; ++i)
|
for(typename string_type::const_iterator i = ch.begin(), e = ch.end(); i != e; ++i)
|
||||||
if(!Arabica::XML::is_space(*i))
|
if(!Arabica::XML::is_space(*i))
|
||||||
throw SAX::SAXException("A variable or param can not have both a select attribute and text context");
|
throw SAX::SAXException("A variable or param can not have both a select attribute and text context");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue