Skip to content

Commit 0bc56ff

Browse files
committed
s/instead follow/follow/ for #2010
1 parent 1ba3371 commit 0bc56ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CppCoreGuidelines.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2981,7 +2981,7 @@ For passing sequences of characters see [String](#SS-string).
29812981
##### Exception
29822982

29832983
To express shared ownership using `shared_ptr` types, rather than following guidelines F.16-21,
2984-
instead follow [R.34](#Rr-sharedptrparam-owner), [R.35](#Rr-sharedptrparam), and [R.36](#Rr-sharedptrparam-const).
2984+
follow [R.34](#Rr-sharedptrparam-owner), [R.35](#Rr-sharedptrparam), and [R.36](#Rr-sharedptrparam-const).
29852985

29862986
### <a name="Rf-in"></a>F.16: For "in" parameters, pass cheaply-copied types by value and others by reference to `const`
29872987

@@ -3036,7 +3036,7 @@ If you need the notion of an optional value, use a pointer, `std::optional`, or
30363036

30373037
##### Exception
30383038

3039-
To express shared ownership using `shared_ptr` types, instead follow [R.34](#Rr-sharedptrparam-owner) or [R.36](#Rr-sharedptrparam-const),
3039+
To express shared ownership using `shared_ptr` types, follow [R.34](#Rr-sharedptrparam-owner) or [R.36](#Rr-sharedptrparam-const),
30403040
depending on whether or not the function unconditionally takes a reference to the argument.
30413041

30423042
### <a name="Rf-inout"></a>F.17: For "in-out" parameters, pass by reference to non-`const`
@@ -3119,7 +3119,7 @@ For example:
31193119

31203120
##### Exception
31213121

3122-
If the "will-move-from" parameter is a `shared_ptr` instead follow [R.34](#Rr-sharedptrparam-owner) and pass the `shared_ptr` by value.
3122+
If the "will-move-from" parameter is a `shared_ptr` follow [R.34](#Rr-sharedptrparam-owner) and pass the `shared_ptr` by value.
31233123

31243124
##### Enforcement
31253125

0 commit comments

Comments
 (0)