Skip to content

Commit 6a8728a

Browse files
committed
qualified access
1 parent 04345df commit 6a8728a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CppCoreGuidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4541,7 +4541,7 @@ Leaving behind an invalid object is asking for trouble.
45414541
X3 file {"Heraclides"};
45424542
file.read(); // crash or bad read!
45434543
// ...
4544-
if (is_valid()) {
4544+
if (file.is_valid()) {
45454545
file.read();
45464546
// ...
45474547
}

0 commit comments

Comments
 (0)