summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-04 16:57:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-04 16:57:08 +0100
commit788afcfb4d0895593eb93f5837bc5ba13f0b96c7 (patch)
treedcd71ed7760baf9ec3505c10dfbce137253bb102 /fpicker
parentaf46bbb2ef7c8c11f8a9324d6188fcc189490cc9 (diff)
-Werror,-Wnon-virtual-dtor
This looks like a real bug, causing leaks in the derived VistaFilePickerImpl (but harmless for the derived AsyncPickerEvents). Change-Id: Ic0de3f56574b89fb45eccb09fb27b78427f712d4
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/win32/filepicker/asyncrequests.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/fpicker/source/win32/filepicker/asyncrequests.hxx b/fpicker/source/win32/filepicker/asyncrequests.hxx
index f786bab538eb..efca5519cbcb 100644
--- a/fpicker/source/win32/filepicker/asyncrequests.hxx
+++ b/fpicker/source/win32/filepicker/asyncrequests.hxx
@@ -120,6 +120,7 @@ typedef std::queue< RequestRef > RequestQueue;
class RequestHandler
{
public:
+ virtual ~RequestHandler() {}
virtual void before() = 0;
virtual void doRequest(const RequestRef& rRequest) = 0;
virtual void after() = 0;