mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-30 22:23:40 +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
|
||||
{
|
||||
|
||||
template<class string_type, class string_adaptor = Arabica::default_string_adaptor<string_type> >
|
||||
template<class string_type, class string_adaptor>
|
||||
class XPathExpression
|
||||
{
|
||||
protected:
|
||||
|
@ -40,12 +40,12 @@ private:
|
|||
XPathExpression& operator=(const 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> >
|
||||
{
|
||||
public:
|
||||
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
|
||||
}; // class XPathExpressionPtr
|
||||
|
|
Loading…
Reference in a new issue