Skip to content

Commit bd22b1e

Browse files
committed
refactor(to_cpp1): simplify expression
1 parent c539769 commit bd22b1e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

source/to_cpp1.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4919,12 +4919,7 @@ class cppfront
49194919
// Else handle ordinary parameters
49204920

49214921
assert(n.declaration->identifier);
4922-
auto param_type = print_to_string(
4923-
type_id,
4924-
n.pass != passing_style::in,
4925-
source_position{},
4926-
print_to_string(*n.declaration->identifier)
4927-
);
4922+
auto param_type = print_to_string(type_id, false, source_position{}, print_to_string(*n.declaration->identifier));
49284923

49294924
auto is_deducible_parameter_type = is_deducible(type_id);
49304925

0 commit comments

Comments
 (0)