From 0fe73c966d5ba262c3291ce91f4d126258ddc557 Mon Sep 17 00:00:00 2001 From: hsutter Date: Sun, 16 Dec 2018 11:47:32 -0800 Subject: [PATCH] Fixed typo Thanks @dalg24! --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 822918f..f9e5b0a 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -12129,7 +12129,7 @@ In the rare cases where the slicing was deliberate the code can be surprising. Shape s {c}; // copy construct only the Shape part of Circle s = c; // or copy assign only the Shape part of Circle - void assign(const shape& src, shape& dest) { + void assign(const Shape& src, Shape& dest) { dest = src; } Circle c2 {{1,1}, 43};