From 16f29fd38cc202237d961f5d68352f53e24256c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20J=2E=20Iglesias=20Garc=C3=ADa?= Date: Fri, 14 Apr 2023 05:26:43 +0200 Subject: [PATCH] Use enum class in Enum.4 example. (#2065) --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 7beb002..37451e3 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -9156,7 +9156,7 @@ Convenience of use and avoidance of errors. ##### Example - enum Day { mon, tue, wed, thu, fri, sat, sun }; + enum class Day { mon, tue, wed, thu, fri, sat, sun }; Day& operator++(Day& d) {