From a77f4880c70d3d03ca03951c75a3f9cefa26aeb4 Mon Sep 17 00:00:00 2001 From: Ryuta Kambe Date: Mon, 2 Dec 2024 12:30:28 +0900 Subject: [PATCH] fix(learning_based_vehicle_model): fix clang-diagnostic-delete-abstract-non-virtual-dtor (#9446) Signed-off-by: veqcc --- .../include/learning_based_vehicle_model/submodel_interface.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/simulator/learning_based_vehicle_model/include/learning_based_vehicle_model/submodel_interface.hpp b/simulator/learning_based_vehicle_model/include/learning_based_vehicle_model/submodel_interface.hpp index d4662036709d5..1cbad103278fb 100644 --- a/simulator/learning_based_vehicle_model/include/learning_based_vehicle_model/submodel_interface.hpp +++ b/simulator/learning_based_vehicle_model/include/learning_based_vehicle_model/submodel_interface.hpp @@ -20,6 +20,8 @@ class SubModelInterface { public: + virtual ~SubModelInterface() = default; + /** * @brief set time step of the model * @param [in] dt time step