Skip to content

Commit

Permalink
ignore value instead of ref
Browse files Browse the repository at this point in the history
  • Loading branch information
rollbear committed Apr 2, 2015
1 parent 76209b2 commit 499a1c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trompeloeil.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1695,8 +1695,8 @@ namespace trompeloeil
/* provoke warnings for sign mismatch with applicable compiler flags*/ \
using param_type = ::trompeloeil::call_params_type_t<sig>; \
using call_type = decltype(std::make_tuple(std::forward<U>(u)...)); \
::trompeloeil::ignore( \
::trompeloeil::is_equal_comparable<param_type, call_type>::value); \
auto check = ::trompeloeil::is_equal_comparable<param_type, call_type>::value; \
::trompeloeil::ignore(check); \
return ::trompeloeil::make_call_matcher<sig>(std::forward<U>(u)...); \
} \
}; \
Expand Down

0 comments on commit 499a1c5

Please sign in to comment.