From b2926d13535f377e3a63be075490bba7718f1921 Mon Sep 17 00:00:00 2001 From: alexander Date: Wed, 11 Dec 2024 09:40:12 -0800 Subject: [PATCH] removed constructor and destructors since they do nothing Signed-off-by: alexander --- .../include/nav2_costmap_2d/plugin_container_layer.hpp | 8 -------- nav2_costmap_2d/plugins/plugin_container_layer.cpp | 7 ------- 2 files changed, 15 deletions(-) diff --git a/nav2_costmap_2d/include/nav2_costmap_2d/plugin_container_layer.hpp b/nav2_costmap_2d/include/nav2_costmap_2d/plugin_container_layer.hpp index 661a77fede1..2b34d409a50 100644 --- a/nav2_costmap_2d/include/nav2_costmap_2d/plugin_container_layer.hpp +++ b/nav2_costmap_2d/include/nav2_costmap_2d/plugin_container_layer.hpp @@ -43,14 +43,6 @@ namespace nav2_costmap_2d class PluginContainerLayer : public CostmapLayer { public: - /** - * @brief A constructor - */ - PluginContainerLayer(); - /** - * @brief A destructor - */ - virtual ~PluginContainerLayer(); /** * @brief Initialization process of layer on startup */ diff --git a/nav2_costmap_2d/plugins/plugin_container_layer.cpp b/nav2_costmap_2d/plugins/plugin_container_layer.cpp index 72819cd537a..f8e083e85c6 100644 --- a/nav2_costmap_2d/plugins/plugin_container_layer.cpp +++ b/nav2_costmap_2d/plugins/plugin_container_layer.cpp @@ -26,13 +26,6 @@ using std::vector; namespace nav2_costmap_2d { -PluginContainerLayer::PluginContainerLayer() -{ -} - -PluginContainerLayer::~PluginContainerLayer() -{ -} void PluginContainerLayer::onInitialize() {