diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-09-19 10:19:48 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-09-19 10:19:48 +0200 |
commit | a066f175060a6ada5c60c378ca4dab6e9b571e35 (patch) | |
tree | ee2d1d119306d9d9cba390e6e93543f11993af9f /libxsd/xsd/cxx/tree/types.txx | |
parent | 169b95d1c079bcc12c2a9bc881ecf2cccf0b6029 (diff) |
Don't use using namespace xercesc because of MSXML conflict
Diffstat (limited to 'libxsd/xsd/cxx/tree/types.txx')
-rw-r--r-- | libxsd/xsd/cxx/tree/types.txx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libxsd/xsd/cxx/tree/types.txx b/libxsd/xsd/cxx/tree/types.txx index 8696171..a5ef95d 100644 --- a/libxsd/xsd/cxx/tree/types.txx +++ b/libxsd/xsd/cxx/tree/types.txx @@ -319,7 +319,10 @@ namespace xsd std::basic_string<C> base64_binary<C, B>:: encode () const { - using namespace xercesc; + // Cannot use 'using namespace' because of MSXML conflict. + // + using xercesc::Base64; + std::basic_string<C> str; XMLSize_t n; @@ -357,7 +360,9 @@ namespace xsd void base64_binary<C, B>:: decode (const XMLCh* src) { - using namespace xercesc; + // Cannot use 'using namespace' because of MSXML conflict. + // + using xercesc::Base64; xml::std_memory_manager mm; XMLSize_t size; |