From 35b4f570aefe67491b4ff9695f3b918100889e10 Mon Sep 17 00:00:00 2001 From: Mathieu Champlon Date: Thu, 29 Mar 2018 15:09:50 +0200 Subject: [PATCH] Fixed clang warning --- include/turtle/constraints.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() )