Skip to content

Commit

Permalink
Rename template parameter names to avoid name conflict on Solaris.
Browse files Browse the repository at this point in the history
Closes #1722
  • Loading branch information
jealas authored and horenmar committed Aug 10, 2019
1 parent e2d863b commit 378cc1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/internal/catch_tostring.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 378cc1a

Please sign in to comment.