From 5944e37e440c3b659dafc74eb92b5510f1e64d9e Mon Sep 17 00:00:00 2001 From: Fabio Galuppo Date: Wed, 23 Sep 2015 11:34:41 -0300 Subject: [PATCH] Update CppCoreGuidelines.md Typo on function in F.21 --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index f28366f..a65a0a6 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -2134,7 +2134,7 @@ For small objects (up to two or three words) is is also faster than alternatives void fct(int x); // OK: Unbeatable - void fct(const int& x); // bad: overhead on access in fct2() + void fct2(const int& x); // bad: overhead on access in fct2() void fct(int& x); // OK, but means something else; use only for an "out parameter"