gcc fixes

This commit is contained in:
Jez Higgins 2012-11-05 09:22:05 +00:00
parent 2e1bbdbec9
commit 456b38c37f
2 changed files with 4 additions and 2 deletions

View file

@ -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_);

View file

@ -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