mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-30 09:13:29 +01:00
Rename template parameter names to avoid name conflict on Solaris.
Closes #1722
This commit is contained in:
parent
e2d863b090
commit
378cc1a670
@ -44,9 +44,9 @@ namespace Catch {
|
|||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
class IsStreamInsertable {
|
class IsStreamInsertable {
|
||||||
template<typename SS, typename TT>
|
template<typename Stream, typename U>
|
||||||
static auto test(int)
|
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>
|
template<typename, typename>
|
||||||
static auto test(...)->std::false_type;
|
static auto test(...)->std::false_type;
|
||||||
|
Loading…
Reference in New Issue
Block a user