File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1015,19 +1015,18 @@ static void find_and_replace_parameters(
1015
1015
// / \param annotations: The java_annotationt collection to populate
1016
1016
void convert_annotations (
1017
1017
const java_bytecode_parse_treet::annotationst &parsed_annotations,
1018
- std::vector<java_annotationt> &annotations )
1018
+ std::vector<java_annotationt> &java_annotations )
1019
1019
{
1020
1020
for (const auto &annotation : parsed_annotations)
1021
1021
{
1022
- annotations .emplace_back (annotation.type );
1022
+ java_annotations .emplace_back (annotation.type );
1023
1023
std::vector<java_annotationt::valuet> &values =
1024
- annotations .back ().get_values ();
1024
+ java_annotations .back ().get_values ();
1025
1025
std::transform (
1026
1026
annotation.element_value_pairs .begin (),
1027
1027
annotation.element_value_pairs .end (),
1028
1028
std::back_inserter (values),
1029
- [](const decltype (annotation.element_value_pairs )::value_type &value)
1030
- {
1029
+ [](const decltype (annotation.element_value_pairs )::value_type &value) {
1031
1030
return java_annotationt::valuet (value.element_name , value.value );
1032
1031
});
1033
1032
}
You can’t perform that action at this time.
0 commit comments