@@ -37,7 +37,6 @@ cpp_typecheck_resolvet::cpp_typecheck_resolvet(cpp_typecheckt &_cpp_typecheck):
3737
3838void cpp_typecheck_resolvet::convert_identifiers (
3939 const cpp_scopest::id_sett &id_set,
40- const wantt want,
4140 const cpp_typecheck_fargst &fargs,
4241 resolve_identifierst &identifiers)
4342{
@@ -47,7 +46,7 @@ void cpp_typecheck_resolvet::convert_identifiers(
4746 it++)
4847 {
4948 const cpp_idt &identifier=**it;
50- exprt e=convert_identifier (identifier, want, fargs);
49+ exprt e=convert_identifier (identifier, fargs);
5150
5251 if (e.is_not_nil ())
5352 {
@@ -210,7 +209,6 @@ exprt cpp_typecheck_resolvet::convert_template_parameter(
210209
211210exprt cpp_typecheck_resolvet::convert_identifier (
212211 const cpp_idt &identifier,
213- const wantt want,
214212 const cpp_typecheck_fargst &fargs)
215213{
216214 if (identifier.id_class ==cpp_scopet::id_classt::TEMPLATE_PARAMETER)
@@ -1516,7 +1514,7 @@ exprt cpp_typecheck_resolvet::resolve(
15161514 {
15171515 // methods and functions
15181516 convert_identifiers (
1519- id_set, want, fargs, identifiers);
1517+ id_set, fargs, identifiers);
15201518
15211519 apply_template_args (
15221520 identifiers, template_args, fargs);
@@ -1525,7 +1523,7 @@ exprt cpp_typecheck_resolvet::resolve(
15251523 else
15261524 {
15271525 convert_identifiers (
1528- id_set, want, fargs, identifiers);
1526+ id_set, fargs, identifiers);
15291527 }
15301528
15311529 // change types into constructors if we want a constructor
0 commit comments