diff --git a/include/Arabica/getparam.hpp b/include/Arabica/getparam.hpp index 798bdc42..7ba6bd44 100644 --- a/include/Arabica/getparam.hpp +++ b/include/Arabica/getparam.hpp @@ -26,10 +26,16 @@ struct get_param >::type type; }; // get_param #else +template +struct chosen_type { typedef T0 type; }; + +template +struct chosen_type { typedef DefaultT type; }; + template struct get_param { - typedef T0 type; + typedef typename chosen_type::type type; }; #endif diff --git a/include/SAX/ParserConfig.hpp b/include/SAX/ParserConfig.hpp index fb90fa78..136dfe90 100644 --- a/include/SAX/ParserConfig.hpp +++ b/include/SAX/ParserConfig.hpp @@ -69,7 +69,7 @@ namespace SAX template #else #ifndef USE_MSXML - template, class T1 = Arabica::nil_t> + template #else template, class T1 = SAX::COMSingleThreadInitializer> #endif