mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-26 21:58:39 +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())
|
||||
{
|
||||
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);
|
||||
throw std::runtime_error(error);
|
||||
} // if ...
|
||||
|
|
|
@ -61,7 +61,7 @@ protected:
|
|||
{
|
||||
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))
|
||||
throw SAX::SAXException("A variable or param can not have both a select attribute and text context");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue