Skip to content

Commit

Permalink
fix(control_performance_analysis): clang-diagnostic-pessimizing-move (a…
Browse files Browse the repository at this point in the history
…utowarefoundation#9380)

Signed-off-by: veqcc <ryuta.kambe@tier4.jp>
  • Loading branch information
veqcc authored and zulfaqar-azmi-t4 committed Nov 21, 2024
1 parent 92e7958 commit d152776
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,7 @@ bool ControlPerformanceAnalysisCore::calculateDrivingVars()
lpf(curr.desired_steering_angle.data, prev->desired_steering_angle.data);
}

prev_driving_vars_ =
std::move(std::make_unique<msg::DrivingMonitorStamped>(driving_status_vars));
prev_driving_vars_ = std::make_unique<msg::DrivingMonitorStamped>(driving_status_vars);

last_odom_header.stamp = odom_history_ptr_->at(odom_size - 1).header.stamp;
last_steering_report.stamp = current_vec_steering_msg_ptr_->stamp;
Expand Down

0 comments on commit d152776

Please sign in to comment.