sc/source/core/opencl/formulagroupcl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 547b2891d9fe97dee9df14106e91dc4df659d4d5 Author: Noel Grandin <[email protected]> AuthorDate: Thu May 7 15:00:00 2020 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Thu May 7 20:43:07 2020 +0200 fix use after std::move regression from commit 5efd34eabcbd374f0f06cac12b7b25f955db7965 loplugin:makeshared in sc Change-Id: I1ec603f6ea01aca86cb478f2bf3a6d5d37f235af Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93639 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx index d8e5ded30a7b..f505e23c97d5 100644 --- a/sc/source/core/opencl/formulagroupcl.cxx +++ b/sc/source/core/opencl/formulagroupcl.cxx @@ -2704,7 +2704,7 @@ static std::shared_ptr<DynamicKernelArgument> VectorRefFactory( const ScCalcConf DynamicKernelSoPArguments::DynamicKernelSoPArguments(const ScCalcConfig& config, const std::string& s, const FormulaTreeNodeRef& ft, std::shared_ptr<SlidingFunctionBase> pCodeGen, int nResultSize ) : - DynamicKernelArgument(config, s, ft), mpCodeGen(std::move(pCodeGen)), mpClmem2(nullptr) + DynamicKernelArgument(config, s, ft), mpCodeGen(pCodeGen), mpClmem2(nullptr) { size_t nChildren = ft->Children.size(); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
