From 1c99b0ff8189f59563973193909af4b511485890 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Sun, 13 Jan 2019 16:23:17 +0100 Subject: [PATCH] Minor cleanup in decomposer --- include/internal/catch_decomposer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/internal/catch_decomposer.h b/include/internal/catch_decomposer.h index 443ef2de..a6c02218 100644 --- a/include/internal/catch_decomposer.h +++ b/include/internal/catch_decomposer.h @@ -131,7 +131,7 @@ namespace Catch { public: explicit UnaryExpr( LhsT lhs ) - : ITransientExpression{ false, lhs ? true : false }, + : ITransientExpression{ false, static_cast(lhs) }, m_lhs( lhs ) {} };