mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-30 08:38:15 +01:00
Patches so that we can build successfully without Boost.
This commit is contained in:
parent
7d18ff59d0
commit
508536ee27
2 changed files with 8 additions and 2 deletions
|
@ -26,10 +26,16 @@ struct get_param
|
|||
>::type type;
|
||||
}; // get_param
|
||||
#else
|
||||
template <typename T0, typename DefaultT>
|
||||
struct chosen_type { typedef T0 type; };
|
||||
|
||||
template <typename DefaultT>
|
||||
struct chosen_type<Arabica::nil_t, DefaultT> { typedef DefaultT type; };
|
||||
|
||||
template <typename BaseT, typename DefaultT, typename T0, typename T1>
|
||||
struct get_param
|
||||
{
|
||||
typedef T0 type;
|
||||
typedef typename chosen_type<T0, DefaultT>::type type;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ namespace SAX
|
|||
template<class string_type, class T0 = Arabica::nil_t, class T1 = Arabica::nil_t>
|
||||
#else
|
||||
#ifndef USE_MSXML
|
||||
template<class string_type, class T0 = Arabica::default_string_adaptor<string_type>, class T1 = Arabica::nil_t>
|
||||
template<class string_type, class T0 = Arabica::nil_t, class T1 = Arabica::nil_t>
|
||||
#else
|
||||
template<class string_type, class T0 = Arabica::default_string_adaptor<string_type>, class T1 = SAX::COMSingleThreadInitializer>
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue