Skip to content

Commit 18ddfef

Browse files
author
Colin Robertson
authored
Merge pull request MicrosoftDocs#2399 from JordanMaples/patch-22
Add C++ Core Guidelines link to C26474
2 parents 5749fd4 + d7210fe commit 18ddfef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/code-quality/c26474.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.assetid: 1e23a8e6-97fa-47f5-a279-b52aa2efafa4
1111
"Don't cast between pointer types when the conversion could be implicit."
1212

1313
**C++ Core Guidelines**:\
14-
Type.1: Avoid casts
14+
[Type.1](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#prosafety-type-safety-profile): Avoid casts
1515

1616
In some cases, implicit casts between pointer types are safe and don't require you to write a specific cast expression. This rule finds instances of unnecessary casts you can safely remove.
1717

0 commit comments

Comments
 (0)