From 6a8728a05451a23e5aa514f32ea4817c0b0a5a3e Mon Sep 17 00:00:00 2001 From: Thibault Kruse Date: Thu, 11 Aug 2016 17:53:18 +0200 Subject: [PATCH] qualified access --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 520f427..6a506d1 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -4541,7 +4541,7 @@ Leaving behind an invalid object is asking for trouble. X3 file {"Heraclides"}; file.read(); // crash or bad read! // ... - if (is_valid()) { + if (file.is_valid()) { file.read(); // ... }