diff --git a/nav2_graceful_controller/include/nav2_graceful_controller/parameter_handler.hpp b/nav2_graceful_controller/include/nav2_graceful_controller/parameter_handler.hpp index bb214178f69..cbc57848d68 100644 --- a/nav2_graceful_controller/include/nav2_graceful_controller/parameter_handler.hpp +++ b/nav2_graceful_controller/include/nav2_graceful_controller/parameter_handler.hpp @@ -70,7 +70,7 @@ class ParameterHandler /** * @brief Destructor for nav2_graceful_controller::ParameterHandler */ - ~ParameterHandler() = default; + ~ParameterHandler(); std::mutex & getMutex() {return mutex_;} diff --git a/nav2_regulated_pure_pursuit_controller/include/nav2_regulated_pure_pursuit_controller/parameter_handler.hpp b/nav2_regulated_pure_pursuit_controller/include/nav2_regulated_pure_pursuit_controller/parameter_handler.hpp index ed532edbe97..5d646c8460e 100644 --- a/nav2_regulated_pure_pursuit_controller/include/nav2_regulated_pure_pursuit_controller/parameter_handler.hpp +++ b/nav2_regulated_pure_pursuit_controller/include/nav2_regulated_pure_pursuit_controller/parameter_handler.hpp @@ -81,7 +81,7 @@ class ParameterHandler /** * @brief Destrructor for nav2_regulated_pure_pursuit_controller::ParameterHandler */ - ~ParameterHandler() = default; + ~ParameterHandler(); std::mutex & getMutex() {return mutex_;}