From e41b65cca1037e9ba4f305bf3a5b51f99618734f Mon Sep 17 00:00:00 2001 From: Jiwan Date: Tue, 29 Sep 2015 20:55:46 +0200 Subject: [PATCH] Fixed a minor error in an example in I.12. --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 27f8e3a..948e97c 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -1312,7 +1312,7 @@ That is, its value must be `delete`d or transferred to another owner, as is done **Example**: - int length(const char* p); // it is not clear whether strlen(nullptr) is valid + int length(const char* p); // it is not clear whether length(nullptr) is valid length(nullptr); // OK?