We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b701e2 commit 3b73b99Copy full SHA for 3b73b99
src/util/std_types.h
@@ -1051,8 +1051,8 @@ class incomplete_array_typet:public type_with_subtypet
1051
{
1052
}
1053
1054
- explicit incomplete_array_typet(const typet &_subtype):
1055
- type_with_subtypet(ID_array, _subtype)
+ explicit incomplete_array_typet(const typet &_subtype)
+ : type_with_subtypet(ID_incomplete_array, _subtype)
1056
1057
1058
};
@@ -1063,7 +1063,7 @@ class incomplete_array_typet:public type_with_subtypet
1063
template <>
1064
inline bool can_cast_type<incomplete_array_typet>(const typet &type)
1065
1066
- return type.id() == ID_array;
+ return type.id() == ID_incomplete_array;
1067
1068
1069
/// \brief Cast a typet to an \ref incomplete_array_typet
0 commit comments