fixes syntax bug in enum README.md by changing r2 to Color2
This commit is contained in:
@@ -85,7 +85,7 @@ enum class Color2
|
||||
YELLOW,
|
||||
BLUE
|
||||
};
|
||||
r2 c2 = Color2::RED;
|
||||
Color2 c2 = Color2::RED;
|
||||
cout << static_cast<int>(c2) << endl; //!
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user