Skip to content

Commit 2acabea

Browse files
author
Daniel Kroening
committed
struct_exprt is multi-ary
1 parent d062c45 commit 2acabea

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/util/std_expr.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1823,16 +1823,15 @@ inline void validate_expr(const union_exprt &value)
18231823

18241824

18251825
/// \brief Struct constructor from list of elements
1826-
class struct_exprt:public exprt
1826+
class struct_exprt : public multi_ary_exprt
18271827
{
18281828
public:
18291829
DEPRECATED("use struct_exprt(component_name, value, type) instead")
1830-
struct_exprt():exprt(ID_struct)
1830+
struct_exprt() : multi_ary_exprt(ID_struct)
18311831
{
18321832
}
18331833

1834-
explicit struct_exprt(const typet &_type):
1835-
exprt(ID_struct, _type)
1834+
explicit struct_exprt(const typet &_type) : multi_ary_exprt(ID_struct, _type)
18361835
{
18371836
}
18381837

0 commit comments

Comments
 (0)