Skip to content

Commit af0ffda

Browse files
nerdCopterclaude
andcommitted
fix: clone root_name_string before move into FlightReport
root_name_string was moved into FlightReport.root_name then borrowed again by plot_eso_output; clone before the move. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 5e12cc9 commit af0ffda

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1699,7 +1699,7 @@ INFO ({input_file_str}): Skipping Step Response input data filtering: {reason}."
16991699
let report_path = std::path::Path::new(&report_filename);
17001700
println!("\n--- Generating Report: {report_filename} ---");
17011701
let flight_report = report::FlightReport {
1702-
root_name: root_name_string,
1702+
root_name: root_name_string.clone(),
17031703
sample_rate,
17041704
header_metadata,
17051705
pd_ratios: pd_ratios_for_report,

0 commit comments

Comments
 (0)