From 409a32ed6c51b266b23b48ead9ed33faeb64c193 Mon Sep 17 00:00:00 2001 From: bin Date: Tue, 6 Jul 2021 10:50:04 +0800 Subject: [PATCH] fix typo:r2 -> Color2 --- basic_content/enum/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basic_content/enum/README.md b/basic_content/enum/README.md index 197203f..f5ff3b2 100644 --- a/basic_content/enum/README.md +++ b/basic_content/enum/README.md @@ -84,7 +84,7 @@ enum class Color2 YELLOW, BLUE }; -r2 c2 = Color2::RED; +Color2 c2 = Color2::RED; cout << static_cast(c2) << endl; //必须转! ```