From 2615896faa646e5830abf2c269150e1165c66515 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 18 Dec 2020 18:48:46 +0300 Subject: Switch to build2 --- libxsd/xsd/cxx/xml/char-lcp.hxx | 54 ----------------------------------------- 1 file changed, 54 deletions(-) delete mode 100644 libxsd/xsd/cxx/xml/char-lcp.hxx (limited to 'libxsd/xsd/cxx/xml/char-lcp.hxx') diff --git a/libxsd/xsd/cxx/xml/char-lcp.hxx b/libxsd/xsd/cxx/xml/char-lcp.hxx deleted file mode 100644 index 6958f3e..0000000 --- a/libxsd/xsd/cxx/xml/char-lcp.hxx +++ /dev/null @@ -1,54 +0,0 @@ -// file : xsd/cxx/xml/char-lcp.hxx -// license : GNU GPL v2 + exceptions; see accompanying LICENSE file - -#ifndef XSD_CXX_XML_TRANSCODER -#define XSD_CXX_XML_TRANSCODER -#define XSD_CXX_XML_TRANSCODER_CHAR_LCP - -#include -#include // std::size_t - -#include // XMLCh - -namespace xsd -{ - namespace cxx - { - namespace xml - { - // UTF-16 to/from Xerces-C++ local code page (LCP) transcoder. - // - // Note that this transcoder has a custom interface due to Xerces-C++ - // idiosyncrasies. Don't use it as a base for your custom transcoder. - // - template - struct char_lcp_transcoder - { - static std::basic_string - to (const XMLCh* s); - - static std::basic_string - to (const XMLCh* s, std::size_t length); - - static XMLCh* - from (const C* s); - }; - - typedef char_lcp_transcoder char_transcoder; - } - } -} - -#include - -#else -# ifndef XSD_CXX_XML_TRANSCODER_CHAR_LCP - // - // If you get this error, it usually means that either you compiled - // your schemas with different --char-encoding values or you included - // some of the libxsd headers (e.g., xsd/cxx/xml/string.hxx) directly - // without first including the correct xsd/cxx/xml/char-*.hxx header. - // -# error conflicting character encoding detected -# endif -#endif // XSD_CXX_XML_TRANSCODER -- cgit v1.1