Skip to content

Commit aa7b89f

Browse files
author
Daniel Kroening
authored
Merge pull request diffblue#2742 from diffblue/symbol_type_fix
two further instances of symbol_type
2 parents 1f06cde + ef509a5 commit aa7b89f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/util/rename_symbol.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ bool rename_symbolt::rename(typet &dest) const
170170
}
171171
}
172172
}
173-
else if(dest.id()==ID_symbol)
173+
else if(dest.id() == ID_symbol_type)
174174
{
175175
type_mapt::const_iterator it=
176176
type_map.find(to_symbol_type(dest).get_identifier());
@@ -253,7 +253,7 @@ bool rename_symbolt::have_to_rename(const typet &dest) const
253253
return true;
254254
}
255255
}
256-
else if(dest.id()==ID_symbol)
256+
else if(dest.id() == ID_symbol_type)
257257
{
258258
const irep_idt &identifier = to_symbol_type(dest).get_identifier();
259259
return type_map.find(identifier) != type_map.end();

0 commit comments

Comments
 (0)