From 86bf762e009c8adaa8338423fc11ac43df245f09 Mon Sep 17 00:00:00 2001 From: GatoRat Date: Fri, 11 Nov 2016 16:40:16 -0800 Subject: [PATCH] Update catch.hpp --- single_include/catch.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/single_include/catch.hpp b/single_include/catch.hpp index 2e6fe8d3..a8e28ac2 100644 --- a/single_include/catch.hpp +++ b/single_include/catch.hpp @@ -2067,7 +2067,7 @@ namespace Catch { Catch::ResultBuilder __catchResult( macroName, CATCH_INTERNAL_LINEINFO, #expr, resultDisposition ); \ try { \ CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS \ - ( __catchResult <= expr ).endExpression(); \ + ( __catchResult <= (expr) ).endExpression(); \ } \ catch( ... ) { \ __catchResult.useActiveException( Catch::ResultDisposition::Normal ); \