Skip to content

Commit 0b31109

Browse files
author
Daniel Kroening
committed
avoid a deprecated constructor in is_dynamic_object_exprt
This will enable us to remove the deprecated constructor.
1 parent 5d2d62d commit 0b31109

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/util/std_expr.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2117,7 +2117,9 @@ inline dynamic_object_exprt &to_dynamic_object_expr(exprt &expr)
21172117
class is_dynamic_object_exprt : public unary_predicate_exprt
21182118
{
21192119
public:
2120-
is_dynamic_object_exprt() : unary_predicate_exprt(ID_is_dynamic_object)
2120+
DEPRECATED(SINCE(2019, 11, 8, "use is_dynamic_object(op) instead"))
2121+
is_dynamic_object_exprt()
2122+
: unary_predicate_exprt(ID_is_dynamic_object, exprt())
21212123
{
21222124
}
21232125

0 commit comments

Comments
 (0)