Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions src/util/std_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -1050,11 +1050,6 @@ class incomplete_array_typet:public type_with_subtypet
incomplete_array_typet():type_with_subtypet(ID_incomplete_array)
{
}

explicit incomplete_array_typet(const typet &_subtype):
type_with_subtypet(ID_array, _subtype)
{
}
};

/// Check whether a reference to a typet is a \ref incomplete_array_typet.
Expand All @@ -1063,7 +1058,7 @@ class incomplete_array_typet:public type_with_subtypet
template <>
inline bool can_cast_type<incomplete_array_typet>(const typet &type)
{
return type.id() == ID_array;
return type.id() == ID_incomplete_array;
}

/// \brief Cast a typet to an \ref incomplete_array_typet
Expand Down