fix typo:r2 -> Color2

This commit is contained in:
bin 2021-07-06 10:50:04 +08:00
parent 388564c9d9
commit 409a32ed6c

View File

@ -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; //必须转
``` ```