From c1bc7a30c3c2935d3739919d4f8cdb7a81fe1ee8 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sun, 29 Aug 2010 15:44:41 +0000 Subject: Removed more deprecated functionality (xpath_type_t type, format_write_bom_utf8 flag, precompute_document_order method) git-svn-id: http://pugixml.googlecode.com/svn/trunk@686 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugixml.cpp | 4 ---- src/pugixml.hpp | 16 ---------------- 2 files changed, 20 deletions(-) diff --git a/src/pugixml.cpp b/src/pugixml.cpp index ebc5e82..68ca27f 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -4369,10 +4369,6 @@ namespace pugi return true; } - void xml_document::precompute_document_order() - { - } - #ifndef PUGIXML_NO_STL std::string PUGIXML_FUNCTION as_utf8(const wchar_t* str) { diff --git a/src/pugixml.hpp b/src/pugixml.hpp index 55e4b99..cdbf455 100644 --- a/src/pugixml.hpp +++ b/src/pugixml.hpp @@ -281,12 +281,6 @@ namespace pugi */ const unsigned int format_write_bom = 0x02; - /// \deprecated This constant is deprecated and will be removed in future versions; use format_write_bom instead -#if !defined(__INTEL_COMPILER) || __INTEL_COMPILER > 800 - PUGIXML_DEPRECATED -#endif - const unsigned int format_write_bom_utf8 = format_write_bom; - /** * If this flag is on, no indentation is performed and no line breaks are written to output file. * This means that the data is written to output stream as is. @@ -1753,12 +1747,6 @@ namespace pugi * \return success flag */ bool save_file(const char* path, const char_t* indent = PUGIXML_TEXT("\t"), unsigned int flags = format_default, xml_encoding encoding = encoding_auto) const; - - /** - * Compute document order for the whole tree - * Sometimes this makes evaluation of XPath queries faster. - */ - PUGIXML_DEPRECATED void precompute_document_order(); }; #ifndef PUGIXML_NO_XPATH @@ -1775,10 +1763,6 @@ namespace pugi xpath_type_boolean ///< Boolean }; - /// XPath query return type classification - /// \deprecated This type is deprecated and will be removed in future versions; use xpath_value_type instead - typedef xpath_value_type xpath_type_t; - struct PUGIXML_CLASS xpath_parse_result { /// Error message (0 if no error) -- cgit v1.2.3