Skip to content

Commit 868a035

Browse files
authored
Merge pull request #6742 from tautschnig/bugfixes/is_dynamic
can_cast_expr<is_dynamic_object_exprt>: fix copy&paste error
2 parents 4987df3 + 5c25144 commit 868a035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/pointer_expr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ class is_dynamic_object_exprt : public unary_predicate_exprt
329329
template <>
330330
inline bool can_cast_expr<is_dynamic_object_exprt>(const exprt &base)
331331
{
332-
return base.id() == ID_is_invalid_pointer;
332+
return base.id() == ID_is_dynamic_object;
333333
}
334334

335335
inline void validate_expr(const is_dynamic_object_exprt &value)

0 commit comments

Comments
 (0)