@@ -37,7 +37,6 @@ cpp_typecheck_resolvet::cpp_typecheck_resolvet(cpp_typecheckt &_cpp_typecheck):
37
37
38
38
void cpp_typecheck_resolvet::convert_identifiers (
39
39
const cpp_scopest::id_sett &id_set,
40
- const wantt want,
41
40
const cpp_typecheck_fargst &fargs,
42
41
resolve_identifierst &identifiers)
43
42
{
@@ -47,7 +46,7 @@ void cpp_typecheck_resolvet::convert_identifiers(
47
46
it++)
48
47
{
49
48
const cpp_idt &identifier=**it;
50
- exprt e=convert_identifier (identifier, want, fargs);
49
+ exprt e=convert_identifier (identifier, fargs);
51
50
52
51
if (e.is_not_nil ())
53
52
{
@@ -210,7 +209,6 @@ exprt cpp_typecheck_resolvet::convert_template_parameter(
210
209
211
210
exprt cpp_typecheck_resolvet::convert_identifier (
212
211
const cpp_idt &identifier,
213
- const wantt want,
214
212
const cpp_typecheck_fargst &fargs)
215
213
{
216
214
if (identifier.id_class ==cpp_scopet::id_classt::TEMPLATE_PARAMETER)
@@ -1516,7 +1514,7 @@ exprt cpp_typecheck_resolvet::resolve(
1516
1514
{
1517
1515
// methods and functions
1518
1516
convert_identifiers (
1519
- id_set, want, fargs, identifiers);
1517
+ id_set, fargs, identifiers);
1520
1518
1521
1519
apply_template_args (
1522
1520
identifiers, template_args, fargs);
@@ -1525,7 +1523,7 @@ exprt cpp_typecheck_resolvet::resolve(
1525
1523
else
1526
1524
{
1527
1525
convert_identifiers (
1528
- id_set, want, fargs, identifiers);
1526
+ id_set, fargs, identifiers);
1529
1527
}
1530
1528
1531
1529
// change types into constructors if we want a constructor
0 commit comments