From 9292096c56286a65c0556eac341e1279102f5223 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sun, 29 Aug 2010 15:05:50 +0000 Subject: tests: Added support for XPath without exceptions git-svn-id: http://pugixml.googlecode.com/svn/trunk@637 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugixpath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pugixpath.cpp b/src/pugixpath.cpp index 732a3c6..c86fbd5 100644 --- a/src/pugixpath.cpp +++ b/src/pugixpath.cpp @@ -3429,7 +3429,7 @@ namespace pugi if (m_root->rettype() != xpath_type_node_set) { #ifdef PUGIXML_NO_EXCEPTIONS - return xpath_node_set() + return xpath_node_set(); #else xpath_parse_result result = {"Expression does not evaluate to node set", 0}; throw xpath_exception(result); -- cgit v1.2.3