Kaydet (Commit) c105a3f8 authored tarafından Michael Stahl's avatar Michael Stahl

sc: MSVC doesn't do auto parameters

Change-Id: I4225281e280ea780805b3dc68ed63433f8466bc1
üst 1b218f35
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment