diff --git a/rviz_common/include/rviz_common/window_manager_interface.hpp b/rviz_common/include/rviz_common/window_manager_interface.hpp index f9c18d40d..d4cf4d3ec 100644 --- a/rviz_common/include/rviz_common/window_manager_interface.hpp +++ b/rviz_common/include/rviz_common/window_manager_interface.hpp @@ -49,6 +49,8 @@ class PanelDockWidget; class WindowManagerInterface { public: + virtual ~WindowManagerInterface() = default; + /// Return the parent QWidget. virtual QWidget * diff --git a/rviz_rendering/include/rviz_rendering/viewport_projection_finder.hpp b/rviz_rendering/include/rviz_rendering/viewport_projection_finder.hpp index 0dfa8bf74..02a3863f7 100644 --- a/rviz_rendering/include/rviz_rendering/viewport_projection_finder.hpp +++ b/rviz_rendering/include/rviz_rendering/viewport_projection_finder.hpp @@ -52,6 +52,7 @@ class RVIZ_RENDERING_PUBLIC ViewportProjectionFinder { public: ViewportProjectionFinder() = default; + virtual ~ViewportProjectionFinder() = default; virtual std::pair getViewportPointProjectionOnXYPlane( RenderWindow * render_window, int x, int y);