Rename template parameter names to avoid name conflict on Solaris.

Closes #1722
This commit is contained in:
Jesse Alas 2019-08-09 13:27:24 -07:00 committed by Martin Hořeňovský
parent e2d863b090
commit 378cc1a670

View File

@ -44,9 +44,9 @@ namespace Catch {
template<typename T>
class IsStreamInsertable {
template<typename SS, typename TT>
template<typename Stream, typename U>
static auto test(int)
-> decltype(std::declval<SS&>() << std::declval<TT>(), std::true_type());
-> decltype(std::declval<Stream&>() << std::declval<U>(), std::true_type());
template<typename, typename>
static auto test(...)->std::false_type;