From e3f753ed14c61dcb0d42b2ce202d4281e888e51a Mon Sep 17 00:00:00 2001 From: Sergey Zubkov Date: Tue, 23 Jan 2018 14:15:52 -0500 Subject: [PATCH] the copy ctor typo and comment fixes from #1125 --- CppCoreGuidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index cbd7110..9611f3a 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -5690,9 +5690,9 @@ After a copy `x` and `y` can be independent objects (value semantics, the way no class X2 { // OK: pointer semantics public: X2(); - X2(const X&) = default; // shallow copy + X2(const X2&) = default; // shallow copy ~X2() = default; - void modify(); // change the value of X + void modify(); // change the pointed-to value // ... private: T* p;