summaryrefslogtreecommitdiff
path: root/examples/cxx/tree/embedded/grammar-input-stream.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-11-13 07:46:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-11-13 07:46:45 +0200
commitf2ec36ab5fa04e11dee655d9c623baac95db1eba (patch)
treef1f51bc34e749ca1f97e2e722a334fc599c8a124 /examples/cxx/tree/embedded/grammar-input-stream.hxx
parent6e9a647a859d9a95c96e75c77beaf41b166cc4e4 (diff)
Drop support for Xerces-C++ 2-series
Diffstat (limited to 'examples/cxx/tree/embedded/grammar-input-stream.hxx')
-rw-r--r--examples/cxx/tree/embedded/grammar-input-stream.hxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/examples/cxx/tree/embedded/grammar-input-stream.hxx b/examples/cxx/tree/embedded/grammar-input-stream.hxx
index a1b73c6..5a861ef 100644
--- a/examples/cxx/tree/embedded/grammar-input-stream.hxx
+++ b/examples/cxx/tree/embedded/grammar-input-stream.hxx
@@ -16,8 +16,6 @@ class grammar_input_stream: public xercesc::BinInputStream
public :
grammar_input_stream (const XMLByte* data, std::size_t size);
-#if _XERCES_VERSION >= 30000
-
virtual XMLFilePos
curPos () const;
@@ -27,16 +25,6 @@ public :
virtual const XMLCh*
getContentType () const;
-#else
-
- virtual unsigned int
- curPos () const;
-
- virtual unsigned int
- readBytes (XMLByte* const buf, const unsigned int size);
-
-#endif
-
private :
const XMLByte* data_;
std::size_t size_;