[Libreoffice-commits] core.git: Branch 'feature/calc-group-interpreter-4' - sc/source

Kohei Yoshida kohei.yoshida at collabora.com
Tue Oct 29 22:16:47 CET 2013


 sc/source/core/opencl/opbase.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0783ed47e223b7216766286c2c553970a1fd82d9
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Tue Oct 29 17:17:48 2013 -0400

    std::unique_ptr is C++11 specific. Let's use boost::shared_ptr for now.
    
    Change-Id: I549dd62bfb5c14993a3f600a388cd716b3ff7401

diff --git a/sc/source/core/opencl/opbase.hxx b/sc/source/core/opencl/opbase.hxx
index a982533..93f6820 100644
--- a/sc/source/core/opencl/opbase.hxx
+++ b/sc/source/core/opencl/opbase.hxx
@@ -106,7 +106,7 @@ protected:
 class SlidingFunctionBase
 {
 public:
-    typedef std::unique_ptr<DynamicKernelArgument> SubArgument;
+    typedef boost::shared_ptr<DynamicKernelArgument> SubArgument;
     typedef std::vector<SubArgument> SubArguments;
     virtual void GenSlidingWindowFunction(std::stringstream &,
         const std::string, SubArguments &) = 0;


More information about the Libreoffice-commits mailing list