1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-09 23:34:23 +00:00

fix minor typo (#8)

This commit is contained in:
Anders Schau Knatten 2019-08-14 08:56:00 +02:00 committed by Daniil Goncharov
parent 8187796f3d
commit f5ef718120

View file

@ -79,7 +79,7 @@ enum Color { RED = 2, BLUE = 4, GREEN = 8 };
* Indexed access to enum value
```cpp
int i = 1;
Color colo = magic_enum::enum_value<Color>(i);
Color color = magic_enum::enum_value<Color>(i);
// color -> Color::BLUE
```