Added default case with error for object event dispatching
Hitting this should be pretty rare, but at least developers will know that they are providing a weird event ID. Otherwise for namespace that are added in the normal way, gcc will raise a warning about unhandled case in the switch.
Showing
想要评论请 注册 或 登录