Switches can't seem to figure out that I have a case for every value of the enum I'm switching on, so I need a pointless default: assert(0);
I didn't check if this also breaks me getting warnings if I add new values to the enum but not the switch, but I imagine it does
Switches can't seem to figure out that I have a case for every value of the enum I'm switching on, so I need a pointless default: assert(0);
I didn't check if this also breaks me getting warnings if I add new values to the enum but not the switch, but I imagine it does