Skip to content

Commit 9948d92

Browse files
author
Joel Allred
committed
Remove unused array_string_exprt.length()
Length is now always read from array_pool
1 parent 39ed961 commit 9948d92

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/util/string_expr.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,6 @@ inline equal_exprt equal_to(const exprt &lhs, mp_integer i)
6060
class array_string_exprt : public exprt
6161
{
6262
public:
63-
exprt &length()
64-
{
65-
return to_array_type(type()).size();
66-
}
67-
68-
const exprt &length() const
69-
{
70-
return to_array_type(type()).size();
71-
}
72-
7363
const typet &length_type() const
7464
{
7565
return to_array_type(type()).size().type();

0 commit comments

Comments
 (0)