From 5e400deea3c0ec257f8011e18fad3d7fac633a21 Mon Sep 17 00:00:00 2001 From: taisa1 <38522559+taisa1@users.noreply.github.com> Date: Wed, 14 Aug 2024 14:12:37 +0900 Subject: [PATCH] fix(tier4_planning_rviz_plugin): fix cppcheck warning of virtualCallInConstructor (#8377) fix: deal with virtualCallInConstructor warning Signed-off-by: taisa1 Co-authored-by: Ryuta Kambe --- .../tier4_planning_rviz_plugin/src/tools/jsk_overlay_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/tier4_planning_rviz_plugin/src/tools/jsk_overlay_utils.cpp b/common/tier4_planning_rviz_plugin/src/tools/jsk_overlay_utils.cpp index 70f3e3736a1a8..f6eaf3ad883f1 100644 --- a/common/tier4_planning_rviz_plugin/src/tools/jsk_overlay_utils.cpp +++ b/common/tier4_planning_rviz_plugin/src/tools/jsk_overlay_utils.cpp @@ -116,7 +116,7 @@ OverlayObject::OverlayObject( OverlayObject::~OverlayObject() { - hide(); + OverlayObject::hide(); panel_material_->unload(); Ogre::MaterialManager::getSingleton().remove(panel_material_->getName()); // Ogre::OverlayManager* mOverlayMgr = Ogre::OverlayManager::getSingletonPtr();