Skip to content

Commit c99c2e4

Browse files
authored
Merge pull request #1650 from owen-jones-diffblue/owen-jones-diffblue/remove-unneeded-code
Remove unneeded code
2 parents a708711 + 7176f49 commit c99c2e4

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/util/std_expr.h

-20
Original file line numberDiff line numberDiff line change
@@ -1968,16 +1968,6 @@ class typecast_exprt:public unary_exprt
19681968
unary_exprt(ID_typecast, op, _type)
19691969
{
19701970
}
1971-
1972-
exprt &op()
1973-
{
1974-
return op0();
1975-
}
1976-
1977-
const exprt &op() const
1978-
{
1979-
return op0();
1980-
}
19811971
};
19821972

19831973
/*! \brief Cast a generic exprt to a \ref typecast_exprt
@@ -3035,16 +3025,6 @@ class not_exprt:public unary_exprt
30353025
not_exprt():unary_exprt(ID_not, bool_typet())
30363026
{
30373027
}
3038-
3039-
exprt &op()
3040-
{
3041-
return op0();
3042-
}
3043-
3044-
const exprt &op() const
3045-
{
3046-
return op0();
3047-
}
30483028
};
30493029

30503030
/*! \brief Cast a generic exprt to an \ref not_exprt

0 commit comments

Comments
 (0)