diff --git a/include/turtle/constraints.hpp b/include/turtle/constraints.hpp index 780f37f..5433874 100644 --- a/include/turtle/constraints.hpp +++ b/include/turtle/constraints.hpp @@ -22,7 +22,7 @@ namespace mock { - MOCK_UNARY_CONSTRAINT( any, 0,, true && &actual ) + MOCK_UNARY_CONSTRAINT( any, 0,, ((void)actual, true) ) MOCK_UNARY_CONSTRAINT( affirm, 0,, !! actual ) MOCK_UNARY_CONSTRAINT( negate, 0,, ! actual ) MOCK_UNARY_CONSTRAINT( evaluate, 0,, actual() )