fix typo:r2 -> Color2
This commit is contained in:
parent
388564c9d9
commit
409a32ed6c
@ -84,7 +84,7 @@ enum class Color2
|
|||||||
YELLOW,
|
YELLOW,
|
||||||
BLUE
|
BLUE
|
||||||
};
|
};
|
||||||
r2 c2 = Color2::RED;
|
Color2 c2 = Color2::RED;
|
||||||
cout << static_cast<int>(c2) << endl; //必须转!
|
cout << static_cast<int>(c2) << endl; //必须转!
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user