From d2b5249aef8e6f42580534c8a7231647edb4c50a Mon Sep 17 00:00:00 2001 From: niun Date: Thu, 24 Sep 2015 13:36:50 +0200 Subject: [PATCH 1/2] Fix: unequal parantheses in example --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index f28366f..b5bab73 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -11525,7 +11525,7 @@ Hungarian notation is evil (at least in a strongly statically-typed language). struct S { int m_; - S(int m) :m_{abs(m)) { } + S(int m) :m_(abs(m)) { } }; This is not evil. From 4278cd5c92b0baa8836bf4d5965fe1153e0f880e Mon Sep 17 00:00:00 2001 From: niun Date: Thu, 24 Sep 2015 14:53:07 +0200 Subject: [PATCH 2/2] fix parantheses in example () => {} in initializer list --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index b5bab73..299a587 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -11525,7 +11525,7 @@ Hungarian notation is evil (at least in a strongly statically-typed language). struct S { int m_; - S(int m) :m_(abs(m)) { } + S(int m) :m_{abs(m)} { } }; This is not evil.