Fixed enum style to c++ style