Skip to content

Commit 9a34150

Browse files
authored
Update C2154 error message
1 parent 087364a commit 9a34150

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/error-messages/compiler-errors-1/compiler-error-c2154.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ helpviewer_keywords: ["C2154"]
77
---
88
# Compiler Error C2154
99

10-
> 'type' : only enumeration type is allowed as an argument to compiler intrinsic type trait '__underlying_type'
10+
> '*type*': only enumeration type is allowed as an argument to compiler intrinsic type trait '__underlying_type'
1111
1212
## Remarks
1313

docs/error-messages/compiler-errors-1/compiler-errors-c2100-through-c2199.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ The articles in this section of the documentation explain a subset of the error
6969
|[Compiler error C2151](compiler-error-c2151.md)|more than one language attribute|
7070
|[Compiler error C2152](compiler-error-c2152.md)|'*identifier*': pointers to functions with different attributes|
7171
|[Compiler error C2153](compiler-error-c2153.md)|integer literals must have at least one digit|
72-
|[Compiler error C2154](compiler-error-c2154.md)|'*type*': only enumeration type is allowed as an argument to compiler intrinsic type trait '*trait*'|
72+
|[Compiler error C2154](compiler-error-c2154.md)|'*type*': only enumeration type is allowed as an argument to compiler intrinsic type trait '__underlying_type'|
7373
|[Compiler error C2155](compiler-error-c2155.md)|'?': invalid left operand, expected arithmetic or pointer type|
7474
|[Compiler error C2156](compiler-error-c2156.md)|pragma must be outside function|
7575
|[Compiler error C2157](compiler-error-c2157.md)|'*identifier*': must be declared before use in pragma list|

0 commit comments

Comments
 (0)