1
0
Fork 0
mirror of https://git.suyu.dev/suyu/sirit.git synced 2024-12-22 12:12:05 +00:00

op: Fix implicit conversion from char* to bool warning

This commit is contained in:
ReinUsesLisp 2019-12-11 23:57:46 -03:00
parent 12f40a8032
commit 38e0d00cde

View file

@ -82,7 +82,8 @@ void Op::Add(const Literal& literal) {
case 5: case 5:
return LiteralNumber::Create(std::get<5>(literal)); return LiteralNumber::Create(std::get<5>(literal));
default: default:
assert(!"Invalid literal type"); // Invalid literal type
assert(0);
abort(); abort();
} }
}()); }());