Skip to content

Commit 5c065f8

Browse files
Hyuk Myeonghsutter
authored andcommitted
Fix typos (#1549)
* R.37 : it callees -> its callees * ES.65 : a different part from the original paper
1 parent c68a395 commit 5c065f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CppCoreGuidelines.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

1231612316
This rule is an obvious and well-known language rule, but can be hard to follow.
1231712317
It 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

0 commit comments

Comments
 (0)