[Libreoffice-commits] core.git: sc/source

Michael Stahl mstahl at redhat.com
Mon Nov 2 12:40:42 PST 2015


 sc/source/core/tool/interpr4.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c105a3f8a063f9bf67884e35feac5f257001d25a
Author: Michael Stahl <mstahl at redhat.com>
Date:   Mon Nov 2 21:31:54 2015 +0100

    sc: MSVC doesn't do auto parameters
    
    Change-Id: I4225281e280ea780805b3dc68ed63433f8466bc1

diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index 53ac379..eb10b4f 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -3219,7 +3219,7 @@ class FindByPointer : ::std::unary_function<ScInterpreterTableOpParams, bool>
     const ScInterpreterTableOpParams* mpTableOp;
 public:
     explicit FindByPointer(const ScInterpreterTableOpParams* p) : mpTableOp(p) {}
-    bool operator() (const auto& val) const
+    bool operator() (std::unique_ptr<ScInterpreterTableOpParams> const& val) const
     {
         return val.get() == mpTableOp;
     }


More information about the Libreoffice-commits mailing list