From 28c1aee05b2c934ec5413f978f198e38582a9b40 Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 9 Jun 2017 19:36:57 +0100 Subject: [PATCH] Add virtual destructor for CaptureContextInvoker --- qrenderdoc/Windows/PythonShell.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/qrenderdoc/Windows/PythonShell.cpp b/qrenderdoc/Windows/PythonShell.cpp index ff639f0e3..bafdd1f6e 100644 --- a/qrenderdoc/Windows/PythonShell.cpp +++ b/qrenderdoc/Windows/PythonShell.cpp @@ -40,6 +40,7 @@ struct CaptureContextInvoker : ICaptureContext { ICaptureContext &m_Ctx; CaptureContextInvoker(ICaptureContext &ctx) : m_Ctx(ctx) {} + virtual ~CaptureContextInvoker() {} // /////////////////////////////////////////////////////////////////////// // pass-through functions that don't need the UI thread