From 005e546d634eb15d99096d8a0e8e735a7c7df32e Mon Sep 17 00:00:00 2001 From: Thibault Kruse Date: Wed, 10 Aug 2016 23:00:07 +0200 Subject: [PATCH] bad return type --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 654f5d9..71c2d32 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -4532,7 +4532,7 @@ Leaving behind an invalid object is asking for trouble. // ... } - void is_valid() { return valid; } + bool is_valid() { return valid; } void read(); // read from f // ... };