sc/source/core/tool/interpr4.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c105a3f8a063f9bf67884e35feac5f257001d25a Author: Michael Stahl <mst...@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; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits