VC6 fix so it doesn't choke on typenames

This commit is contained in:
jez_higgins 2003-04-28 14:49:55 +00:00
parent 60cb42d1e0
commit ffb7f9d6f7

View file

@ -758,6 +758,9 @@ SAX::basic_EntityResolver<stringT>* xerces_wrapper<stringT, string_adaptorT>::ge
return 0; return 0;
} // getEntityResolver } // getEntityResolver
#if (defined _MSC_VER) && (_MSC_VER < 1300)
#define typename
#endif
template<class stringT, class string_adaptorT> template<class stringT, class string_adaptorT>
std::auto_ptr<typename SAX::basic_XMLReader<stringT>::PropertyBase> xerces_wrapper<stringT, string_adaptorT>::doGetProperty(const stringT& name) std::auto_ptr<typename SAX::basic_XMLReader<stringT>::PropertyBase> xerces_wrapper<stringT, string_adaptorT>::doGetProperty(const stringT& name)
{ {
@ -800,6 +803,10 @@ void xerces_wrapper<stringT, string_adaptorT>::doSetProperty(const stringT& name
throw SAX::SAXNotRecognizedException("Property not recognized "); throw SAX::SAXNotRecognizedException("Property not recognized ");
} // doSetProperty } // doSetProperty
#if (defined _MSC_VER) && (_MSC_VER < 1300)
#undef typename
#endif
template<class stringT, class string_adaptorT> template<class stringT, class string_adaptorT>
void xerces_wrapper<stringT, string_adaptorT>::parse(SAX::basic_InputSource<stringT>& source) void xerces_wrapper<stringT, string_adaptorT>::parse(SAX::basic_InputSource<stringT>& source)
{ {