Update CppCoreGuidelines.md

Typo in example F.20
This commit is contained in:
Fabio Galuppo 2015-09-23 11:13:17 -03:00
parent 058e1bfb41
commit c4f87d19a9

View File

@ -2108,7 +2108,7 @@ When I call `length(s)` should I test for `s==nullptr` first? Should the impleme
**Example**: **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 void fct2(string s); // bad: potentially expensive