From c4f87d19a9868860a86d7be64de4b328fd949e2e Mon Sep 17 00:00:00 2001 From: Fabio Galuppo Date: Wed, 23 Sep 2015 11:13:17 -0300 Subject: [PATCH] Update CppCoreGuidelines.md Typo in example F.20 --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index f28366f..a8231ae 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -2108,7 +2108,7 @@ When I call `length(s)` should I test for `s==nullptr` first? Should the impleme **Example**: - void fct(const string& s); // OK: pass by const reference; always checp + void fct(const string& s); // OK: pass by const reference; always cheap void fct2(string s); // bad: potentially expensive