Skip to content

Commit 36b5230

Browse files
thk123Matthias Güdemann
authored andcommitted
Fix missing swap for classt
1 parent c2ef63e commit 36b5230

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/java_bytecode/java_bytecode_parse_tree.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ void java_bytecode_parse_treet::classt::swap(
3333
other.fields.swap(fields);
3434
other.methods.swap(methods);
3535
other.annotations.swap(annotations);
36+
std::swap(
37+
other.attribute_bootstrapmethods_read, attribute_bootstrapmethods_read);
38+
std::swap(other.lambda_method_handle_map, lambda_method_handle_map);
3639
}
3740

3841
void java_bytecode_parse_treet::output(std::ostream &out) const

0 commit comments

Comments
 (0)