From 93bb5dcb43a8f80044a12fab962ba546bcb5df6a Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Thu, 22 Jul 2010 07:54:34 +0000 Subject: XPath: Restored document order sorting optimization (it's now automatic for nodes that were loaded and not significantly altered), minor traversal optimizations git-svn-id: http://pugixml.googlecode.com/svn/trunk@613 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugixml.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/pugixml.hpp') diff --git a/src/pugixml.hpp b/src/pugixml.hpp index 281a0ea..81f5769 100644 --- a/src/pugixml.hpp +++ b/src/pugixml.hpp @@ -646,8 +646,7 @@ namespace pugi bool as_bool() const; /// \internal Document order or 0 if not set - /// \deprecated This function is deprecated - PUGIXML_DEPRECATED unsigned int document_order() const; + const void* document_order() const; public: /** @@ -1466,8 +1465,7 @@ namespace pugi #endif /// \internal Document order or 0 if not set - /// \deprecated This function is deprecated - PUGIXML_DEPRECATED unsigned int document_order() const; + const void* document_order() const; /** * Print subtree to writer -- cgit v1.2.3