Fix switch nesting in handler_matches

I guess this worked, but whoops.
This commit is contained in:
Aaron Gyes 2019-03-12 15:27:13 -07:00
parent b7c069a765
commit 2e4948e1f4

View File

@ -120,8 +120,8 @@ static bool handler_matches(const event_handler_t &classv, const event_t &instan
case event_type_t::generic: {
return classv.desc.str_param1 == instance.desc.str_param1;
}
case event_type_t::any: {
default:
case event_type_t::any:
default: {
DIE("unexpected classv.type");
return false;
}