summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-25 07:54:36 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-25 07:54:36 +0000
commit4e05568c4d6c2fb987a3a01020e3d450f891784e (patch)
tree5a62d2c70866b7a5071e02f23d7dd414e82de3cc /src
parentdf6f466e153f5750d75b4176756af0c0a74cb7dc (diff)
Fixed BCC and MSVC6 compilation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@444 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src')
-rw-r--r--src/pugixpath.cpp4
1 files changed, 2 insertions, 2 deletions
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 <class Comp> static bool compare_eq(xpath_ast_node* lhs, xpath_ast_node* rhs, const xpath_context& c, const Comp& comp = Comp())
+ template <class Comp> 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 <class Comp> static bool compare_rel(xpath_ast_node* lhs, xpath_ast_node* rhs, const xpath_context& c, const Comp& comp = Comp())
+ template <class Comp> 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();