Fix trivial shadow warning

This commit is contained in:
Christoph Hertzberg 2019-12-19 19:13:11 +01:00
parent 870e53c0f2
commit a3273aeff8

View File

@ -155,7 +155,7 @@ struct TensorEvaluator<const TensorForcedEvalOp<ArgType_>, Device>
EvalTo; EvalTo;
EvalTo evalToTmp(m_device.get(m_buffer), m_op); EvalTo evalToTmp(m_device.get(m_buffer), m_op);
auto on_done = std::bind([](EvalSubExprsCallback done) { done(true); }, auto on_done = std::bind([](EvalSubExprsCallback done_) { done_(true); },
std::move(done)); std::move(done));
internal::TensorAsyncExecutor< internal::TensorAsyncExecutor<
const EvalTo, typename internal::remove_const<Device>::type, const EvalTo, typename internal::remove_const<Device>::type,