mirror of
https://github.com/jezhiggins/arabica
synced 2024-11-15 19:48:00 +01:00
gcc fixes
This commit is contained in:
parent
2e1bbdbec9
commit
456b38c37f
2 changed files with 4 additions and 2 deletions
|
@ -15,6 +15,8 @@ class ApplyTemplates : public Item,
|
|||
public Sortable<string_type, string_adaptor>,
|
||||
public WithParamable
|
||||
{
|
||||
typedef Sortable<string_type, string_adaptor> SortableT;
|
||||
|
||||
public:
|
||||
ApplyTemplates(Arabica::XPath::XPathExpressionPtr<string_type, string_adaptor> select,
|
||||
string_type& mode) :
|
||||
|
@ -28,7 +30,7 @@ public:
|
|||
{
|
||||
ParamPasser passer(*this, node, context);
|
||||
|
||||
if(!has_sort() && select_ == 0)
|
||||
if(!SortableT::has_sort() && select_ == 0)
|
||||
{
|
||||
if(node.hasChildNodes())
|
||||
context.stylesheet().applyTemplates(node.getChildNodes(), context, mode_);
|
||||
|
|
|
@ -18,7 +18,7 @@ public:
|
|||
typedef adaptorT string_adaptor;
|
||||
|
||||
ForEach(const Arabica::XPath::XPathExpressionPtr<string_type, string_adaptor>& select) :
|
||||
Sortable(),
|
||||
Sortable<stringT, adaptorT>(),
|
||||
select_(select)
|
||||
{
|
||||
} // ForEach
|
||||
|
|
Loading…
Reference in a new issue