summaryrefslogtreecommitdiff
path: root/sc/source/core/opencl/formulagroupcl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/opencl/formulagroupcl.cxx')
-rw-r--r--sc/source/core/opencl/formulagroupcl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index 10b15a9cbc4f..44187fee911f 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -1989,7 +1989,7 @@ public:
for (unsigned i = 0; i < mvSubArguments.size(); i++)
mvSubArguments[i]->DumpInlineFun(decls,funs);
}
- ~DynamicKernelSoPArguments()
+ virtual ~DynamicKernelSoPArguments()
{
if (mpClmem2)
{
@@ -3176,7 +3176,7 @@ public:
if (CL_SUCCESS != err)
throw OpenCLError(err, __FILE__, __LINE__);
}
- ~DynamicKernel();
+ virtual ~DynamicKernel();
cl_mem GetResultBuffer(void) const { return mpResClmem; }
private: