summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-08-29 15:44:41 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-08-29 15:44:41 +0000
commitc1bc7a30c3c2935d3739919d4f8cdb7a81fe1ee8 (patch)
tree30a6984c00ff8f71d10dc7efb71cc7accaf46244 /src
parentf3795e55dd2f071bf8ef5b6980ef71b538ec27fb (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/pugixml.cpp4
-rw-r--r--src/pugixml.hpp16
2 files changed, 0 insertions, 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)