From 2afd5f5dd06b947c8870c72cb765dfb8f188687d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 17 Jul 2019 10:39:06 +0200 Subject: [PATCH] Modernize: Use enum class --- lib/checkclass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkclass.cpp b/lib/checkclass.cpp index bea6253b6..3476b83ff 100644 --- a/lib/checkclass.cpp +++ b/lib/checkclass.cpp @@ -2511,7 +2511,7 @@ void CheckClass::duplInheritedMembersError(const Token *tok1, const Token* tok2, // Check that copy constructor and operator defined together //--------------------------------------------------------------------------- -enum CtorType { +enum class CtorType { NO, WITHOUT_BODY, WITH_BODY