Skip to content

Commit 1cbd476

Browse files
author
Daniel Kroening
committed
fix deprecation message for struct_exprt
1 parent e039c1e commit 1cbd476

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/util/std_expr.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1751,8 +1751,7 @@ inline union_exprt &to_union_expr(exprt &expr)
17511751
class struct_exprt : public multi_ary_exprt
17521752
{
17531753
public:
1754-
DEPRECATED(
1755-
SINCE(2019, 1, 12, "use struct_exprt(component_name, value, type) instead"))
1754+
DEPRECATED(SINCE(2019, 1, 12, "use struct_exprt(operands, type) instead"))
17561755
explicit struct_exprt(const typet &_type) : multi_ary_exprt(ID_struct, _type)
17571756
{
17581757
}

0 commit comments

Comments
 (0)