From 3cb7bb744b3d4d9f3a09518edd6a491879271bfe Mon Sep 17 00:00:00 2001 From: h-ohta Date: Mon, 22 Aug 2022 18:45:58 +0900 Subject: [PATCH] refactor(tier4_traffic_light_rviz_plugin): apply clang-tidy Signed-off-by: h-ohta --- .../src/traffic_light_publish_panel.cpp | 1 - .../src/traffic_light_publish_panel.hpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/common/tier4_traffic_light_rviz_plugin/src/traffic_light_publish_panel.cpp b/common/tier4_traffic_light_rviz_plugin/src/traffic_light_publish_panel.cpp index ddd6867506c20..8f8e920299578 100644 --- a/common/tier4_traffic_light_rviz_plugin/src/traffic_light_publish_panel.cpp +++ b/common/tier4_traffic_light_rviz_plugin/src/traffic_light_publish_panel.cpp @@ -128,7 +128,6 @@ TrafficLightPublishPanel::TrafficLightPublishPanel(QWidget * parent) : rviz_comm h_layout_5->addWidget(traffic_table_); setLayout(h_layout_5); - received_vector_map_ = false; } void TrafficLightPublishPanel::onSetTrafficLightState() diff --git a/common/tier4_traffic_light_rviz_plugin/src/traffic_light_publish_panel.hpp b/common/tier4_traffic_light_rviz_plugin/src/traffic_light_publish_panel.hpp index eabefc41eb774..75e6405417084 100644 --- a/common/tier4_traffic_light_rviz_plugin/src/traffic_light_publish_panel.hpp +++ b/common/tier4_traffic_light_rviz_plugin/src/traffic_light_publish_panel.hpp @@ -77,9 +77,9 @@ public Q_SLOTS: TrafficSignalArray extra_traffic_signals_; - bool enable_publish_; + bool enable_publish_{false}; std::set traffic_light_ids_; - bool received_vector_map_; + bool received_vector_map_{false}; }; } // namespace rviz_plugins