Closed jlguenego closed 3 years ago
Hi! Thanks for the suggestion. Anyway, here we talk about the last line in this part:
RED(0xFF0000),
GREEN(0x00FF00),
BLUE(0x0000FF),
YELLOW(0xFFFF00);
So it's actually ends with a semicolon and this is what we're explaining.
Oups ! Okay I just understood. This one is not obvious or intuitive.
Enum class members are separated from the instance definitions by a semicolon.
semicolon should be replaced by comma.