From 5f75ea4b4b0c3d4632698e80fe28413d3a966ab7 Mon Sep 17 00:00:00 2001 From: nullptr-cpp Date: Fri, 26 Mar 2021 02:08:46 +0800 Subject: [PATCH] C.63: Fix a minor typo (#1760) In accordance with the title at line 4568, use `const&` instead of `const &`. --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 4ada92e..b1f6c38 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -6032,7 +6032,7 @@ Consider: (Simple) Assignment operators should not contain the pattern `if (this == &a) return *this;` ??? -### C.63: Make move assignment non-`virtual`, take the parameter by `&&`, and return by non-`const &` +### C.63: Make move assignment non-`virtual`, take the parameter by `&&`, and return by non-`const&` ##### Reason