Skip to content

Commit 499a1c5

Browse files
committed
ignore value instead of ref
1 parent 76209b2 commit 499a1c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

trompeloeil.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1695,8 +1695,8 @@ namespace trompeloeil
16951695
/* provoke warnings for sign mismatch with applicable compiler flags*/ \
16961696
using param_type = ::trompeloeil::call_params_type_t<sig>; \
16971697
using call_type = decltype(std::make_tuple(std::forward<U>(u)...)); \
1698-
::trompeloeil::ignore( \
1699-
::trompeloeil::is_equal_comparable<param_type, call_type>::value); \
1698+
auto check = ::trompeloeil::is_equal_comparable<param_type, call_type>::value; \
1699+
::trompeloeil::ignore(check); \
17001700
return ::trompeloeil::make_call_matcher<sig>(std::forward<U>(u)...); \
17011701
} \
17021702
}; \

0 commit comments

Comments
 (0)