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 // ... };