[Libreoffice-commits] core.git: Branch 'feature/calc-group-interpreter-4' - sc/source
Kohei Yoshida
kohei.yoshida at collabora.com
Wed Oct 30 00:43:11 CET 2013
sc/source/core/opencl/formulagroupcl.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4ade490f992c84d5f2335528f1f286fa93180329
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date: Tue Oct 29 19:44:16 2013 -0400
Hopefull this is the last of std::unique_ptr.
Again, this is C++11 specific which we can't use.
Change-Id: I766cdf56cd49ba1611cf0172a52a5c0d950d33a0
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index 8dc5779..229b639 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -765,10 +765,10 @@ private:
};
template <class Op>
-std::unique_ptr<DynamicKernelArgument> SoPHelper(const std::string &ts,
+boost::shared_ptr<DynamicKernelArgument> SoPHelper(const std::string &ts,
boost::shared_ptr<FormulaTreeNode> ft)
{
- return std::unique_ptr<DynamicKernelArgument>(
+ return boost::shared_ptr<DynamicKernelArgument>(
new DynamicKernelSoPArguments<Op>(ts, ft));
}
More information about the Libreoffice-commits
mailing list