File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9851,7 +9851,7 @@ The following should not pass code review:
98519851 void my_code()
98529852 {
98539853 // BAD: passing pointer or reference obtained from a nonlocal smart pointer
9854- // that could be inadvertently reset somewhere inside f or it callees
9854+ // that could be inadvertently reset somewhere inside f or its callees
98559855 f(*g_p);
98569856
98579857 // BAD: same reason, just passing it as a "this" pointer
@@ -12315,7 +12315,7 @@ wrong results, or memory corruption.
1231512315
1231612316This rule is an obvious and well-known language rule, but can be hard to follow.
1231712317It takes good coding style, library support, and static analysis to eliminate violations without major overhead.
12318- This is a major part of the discussion of [C++'s resource - and type -safety model ](#Stroustrup15).
12318+ This is a major part of the discussion of [C++'s model for type - and resource -safety](#Stroustrup15).
1231912319
1232012320**See also**:
1232112321
You can’t perform that action at this time.
0 commit comments