Skip to content

Commit

Permalink
Additional review comment fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
excaliburtb committed Apr 18, 2024
1 parent f2e70f7 commit 0454562
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libexec/trick/convert_swig
Original file line number Diff line number Diff line change
Expand Up @@ -621,8 +621,8 @@ sub process_class($$$$$) {
my @split_namespaces = split "::", $curr_namespace;
my $sanitized_namespace = $split_namespaces[-1] ;
my @namespace_split = split /namespace\s*$sanitized_namespace/, $$new_contents_ref;
$save_namespace_content = 'namespace ' . $sanitized_namespace . @namespace_split[-1];
$$new_contents_ref = join('namespace ' . $sanitized_namespace, @namespace_split[0 .. $#namespace_split-1]);
$save_namespace_content = 'namespace ' . $sanitized_namespace . $namespace_split[-1];
$$new_contents_ref = join('namespace ' . $sanitized_namespace, $namespace_split[0 .. $#namespace_split-1]);
}

# SWIG doesn't like "const static". Change it to "static const"
Expand Down

0 comments on commit 0454562

Please sign in to comment.