mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-17 18:12:04 +01:00
VC6 fix so it doesn't choke on typenames
This commit is contained in:
parent
60cb42d1e0
commit
ffb7f9d6f7
1 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue