mirror of
https://github.com/azahar-emu/sirit.git
synced 2026-03-20 11:11:03 +01:00
op: Fix implicit conversion from char* to bool warning
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}());
|
||||
|
||||
Reference in New Issue
Block a user