summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-11-02 21:31:54 +0100
committerMichael Stahl <mstahl@redhat.com>2015-11-02 21:39:05 +0100
commitc105a3f8a063f9bf67884e35feac5f257001d25a (patch)
tree41fc03b030c5dfbbbe9c9826274e6f1d7891b1b1
parent1b218f3597092affab8846a9ed96d83cb204707f (diff)
sc: MSVC doesn't do auto parameters
Change-Id: I4225281e280ea780805b3dc68ed63433f8466bc1
-rw-r--r--sc/source/core/tool/interpr4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index 53ac379271f7..eb10b4f6521b 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;
}