mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-09 23:34:23 +00:00
doc: Fixes typo in README (#406)
This commit is contained in:
parent
a413fcc9c4
commit
c726051c5c
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ If you like this project, please consider donating to one of the funds that help
|
||||||
#include <magic_enum/magic_enum.hpp>
|
#include <magic_enum/magic_enum.hpp>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
enum class Color : { RED = -10, BLUE = 0, GREEN = 10 };
|
enum class Color { RED = -10, BLUE = 0, GREEN = 10 };
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
Color c1 = Color::RED;
|
Color c1 = Color::RED;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue