No need for a unordered_map of enum, which is also broken in GCC before 6.1. No functionality change intended.