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 (#9473)

* fix: clang-diagnostic-unused-private-field

Signed-off-by: kobayu858 <[email protected]>

* fix: build error

Signed-off-by: kobayu858 <[email protected]>

---------

Signed-off-by: kobayu858 <[email protected]>
  • Loading branch information
kobayu858 authored Nov 27, 2024
1 parent 85d5bc4 commit a5e9d28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ 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,7 @@ class Debugger
void imageCallback(
const sensor_msgs::msg::Image::ConstSharedPtr input_image_msg, const std::size_t image_id);

rclcpp::Node * node_ptr_;
[[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

0 comments on commit a5e9d28

Please sign in to comment.