Merge pull request #100 from fabiogaluppo/patch-1

Update CppCoreGuidelines.md
This commit is contained in:
Andrew Pardoe 2015-09-24 07:42:28 -07:00
commit 460e6fe986

View File

@ -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