Skip to content

Commit dd7da48

Browse files
authored
Merge pull request MicrosoftDocs#3214 from hwisungi/master
Fix minor error in fix description.
2 parents 457f87c + 08b8f23 commit dd7da48

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/code-quality/c33011.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ void foo(Index idx, PFN(&functions)[5])
4747
}
4848
```
4949
50-
These warnings are corrected by declaring the enum as enum class:
51-
50+
These warnings are corrected by checking the index value for upper bound as well:
5251
```cpp
5352
typedef void (*PFN)();
5453

0 commit comments

Comments
 (0)