mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-18 22:26:32 +01:00
Added default template parameter to XPathExpressionPtr
This commit is contained in:
parent
9ae5ba9c6f
commit
a95de1c349
1 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ namespace Arabica
|
||||||
namespace XPath
|
namespace XPath
|
||||||
{
|
{
|
||||||
|
|
||||||
template<class string_type, class string_adaptor = Arabica::default_string_adaptor<string_type> >
|
template<class string_type, class string_adaptor>
|
||||||
class XPathExpression
|
class XPathExpression
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
|
@ -40,12 +40,12 @@ private:
|
||||||
XPathExpression& operator=(const XPathExpression&);
|
XPathExpression& operator=(const XPathExpression&);
|
||||||
}; // class XPathExpression
|
}; // class XPathExpression
|
||||||
|
|
||||||
template<class string_type, class string_adaptor>
|
template<class string_type, class string_adaptor = Arabica::default_string_adaptor<string_type> >
|
||||||
class XPathExpressionPtr : public boost::shared_ptr<XPathExpression<string_type, string_adaptor> >
|
class XPathExpressionPtr : public boost::shared_ptr<XPathExpression<string_type, string_adaptor> >
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit XPathExpressionPtr(XPathExpression<string_type, string_adaptor>* xp) :
|
explicit XPathExpressionPtr(XPathExpression<string_type, string_adaptor>* xp) :
|
||||||
boost::shared_ptr<XPathExpression<string_type,string_adaptor> >(xp)
|
boost::shared_ptr<XPathExpression<string_type, string_adaptor> >(xp)
|
||||||
{
|
{
|
||||||
} // XPathExpressionPtr
|
} // XPathExpressionPtr
|
||||||
}; // class XPathExpressionPtr
|
}; // class XPathExpressionPtr
|
||||||
|
|
Loading…
Reference in a new issue