From 38e0d00cde771232dbca6891a635dc594f6bd4dd Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Wed, 11 Dec 2019 23:57:46 -0300 Subject: [PATCH] op: Fix implicit conversion from char* to bool warning --- src/op.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/op.cpp b/src/op.cpp index c75a355..65eba5c 100644 --- a/src/op.cpp +++ b/src/op.cpp @@ -82,7 +82,8 @@ void Op::Add(const Literal& literal) { case 5: return LiteralNumber::Create(std::get<5>(literal)); default: - assert(!"Invalid literal type"); + // Invalid literal type + assert(0); abort(); } }());