From 5abcf7a296f525cc41dfcd275a259b4b0082573c Mon Sep 17 00:00:00 2001 From: David Capello Date: Sun, 17 Aug 2014 20:42:55 -0300 Subject: [PATCH] Add missing virtual destructors --- src/app/ui/skin/skin_slider_property.h | 1 + src/base/thread.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/app/ui/skin/skin_slider_property.h b/src/app/ui/skin/skin_slider_property.h index 6c5132571..24f71f407 100644 --- a/src/app/ui/skin/skin_slider_property.h +++ b/src/app/ui/skin/skin_slider_property.h @@ -34,6 +34,7 @@ namespace app { class ISliderBgPainter { public: + virtual ~ISliderBgPainter() { } virtual void paint(ui::Slider* slider, ui::Graphics* graphics, const gfx::Rect& rc) = 0; }; diff --git a/src/base/thread.h b/src/base/thread.h index 2597df6f7..8663d7b53 100644 --- a/src/base/thread.h +++ b/src/base/thread.h @@ -53,6 +53,7 @@ namespace base { // Based on C++0x threads lib class func_wrapper { public: + virtual ~func_wrapper() { } virtual void operator()() = 0; };