Skip to content

Commit 8163047

Browse files
tautschnigDaniel Kroening
authored and
Daniel Kroening
committed
Add a cond_exprt constructor
The existing constructor requires a deprecated parent constructor.
1 parent 061876e commit 8163047

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/util/std_expr.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4922,6 +4922,11 @@ class cond_exprt : public multi_ary_exprt
49224922
{
49234923
}
49244924

4925+
cond_exprt(operandst &&_operands, const typet &_type)
4926+
: multi_ary_exprt(ID_cond, std::move(_operands), _type)
4927+
{
4928+
}
4929+
49254930
/// adds a case to a cond expression
49264931
/// \param condition: the condition for the case
49274932
/// \param value: the value for the case

0 commit comments

Comments
 (0)