fixed C++98-incompatible unit test

This commit is contained in:
Andrzej Krzemienski
2020-01-16 22:31:23 +01:00
parent 010ee00604
commit d4a4a5b6ad

View File

@ -39,8 +39,15 @@ struct trait<T, BOOST_DEDUCED_TYPENAME void_t<BOOST_DEDUCED_TYPENAME T::value_ty
// This class emulates the properties of std::filesystem::path
struct Path
{
#if __cplusplus >= 201103
template <typename T, typename = BOOST_DEDUCED_TYPENAME trait<T>::value_type>
Path(T const&);
#else
template <typename T>
Path(T const&, BOOST_DEDUCED_TYPENAME trait<T>::value_type* = 0);
#endif
};