Skip to content

Commit

Permalink
fix(autoware_image_projection_based_fusion): fix clang-diagnostic-unu…
Browse files Browse the repository at this point in the history
…sed-private-field (autowarefoundation#9505)

Signed-off-by: kobayu858 <[email protected]>
  • Loading branch information
kobayu858 authored Nov 29, 2024
1 parent c8bc66d commit 4c918a2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ cmake_minimum_required(VERSION 3.14)
project(autoware_image_projection_based_fusion)
# add_compile_options(-Wno-unknown-pragmas)
add_compile_options(-Wno-unknown-pragmas -fopenmp)
add_compile_options(-Wno-error=attributes)

find_package(autoware_cmake REQUIRED)
find_package(OpenCV REQUIRED)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ class Debugger
void imageCallback(
const sensor_msgs::msg::Image::ConstSharedPtr input_image_msg, const std::size_t image_id);

[[maybe_unused]] rclcpp::Node * node_ptr_;
std::shared_ptr<image_transport::ImageTransport> image_transport_;
std::vector<std::string> input_camera_topics_;
std::vector<image_transport::Subscriber> image_subs_;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace autoware::image_projection_based_fusion
Debugger::Debugger(
rclcpp::Node * node_ptr, const std::size_t image_num, const std::size_t image_buffer_size,
std::vector<std::string> input_camera_topics)
: node_ptr_(node_ptr), input_camera_topics_{input_camera_topics}
: input_camera_topics_{input_camera_topics}
{
image_buffers_.resize(image_num);
image_buffer_size_ = image_buffer_size;
Expand Down

0 comments on commit 4c918a2

Please sign in to comment.