diff --git a/src/pugixpath.cpp b/src/pugixpath.cpp index e5bf051..facd989 100644 --- a/src/pugixpath.cpp +++ b/src/pugixpath.cpp @@ -1291,7 +1291,7 @@ namespace pugi xpath_ast_node(const xpath_ast_node&); xpath_ast_node& operator=(const xpath_ast_node&); - template static bool compare_eq(xpath_ast_node* lhs, xpath_ast_node* rhs, const xpath_context& c, const Comp& comp = Comp()) + template static bool compare_eq(xpath_ast_node* lhs, xpath_ast_node* rhs, const xpath_context& c, const Comp& comp) { xpath_type_t lt = lhs->rettype(), rt = rhs->rettype(); @@ -1360,7 +1360,7 @@ namespace pugi return false; } - template static bool compare_rel(xpath_ast_node* lhs, xpath_ast_node* rhs, const xpath_context& c, const Comp& comp = Comp()) + template static bool compare_rel(xpath_ast_node* lhs, xpath_ast_node* rhs, const xpath_context& c, const Comp& comp) { xpath_type_t lt = lhs->rettype(), rt = rhs->rettype();