From: Daniel Arndt Date: Tue, 2 Jun 2020 02:26:40 +0000 (-0400) Subject: Fix implicit capture warning in step-32 X-Git-Tag: v9.3.0-rc1~1497^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79d76b885dff8e87ae6fe6c92155345619c09182;p=dealii.git Fix implicit capture warning in step-32 --- diff --git a/examples/step-32/step-32.cc b/examples/step-32/step-32.cc index d983a56f81..0b8df86bdb 100644 --- a/examples/step-32/step-32.cc +++ b/examples/step-32/step-32.cc @@ -2692,9 +2692,10 @@ namespace Step32 FilteredIterator::active_cell_iterator>; auto worker = - [=](const typename DoFHandler::active_cell_iterator &cell, - Assembly::Scratch::TemperatureRHS & scratch, - Assembly::CopyData::TemperatureRHS & data) { + [this, global_T_range, maximal_velocity, global_entropy_variation]( + const typename DoFHandler::active_cell_iterator &cell, + Assembly::Scratch::TemperatureRHS & scratch, + Assembly::CopyData::TemperatureRHS & data) { this->local_assemble_temperature_rhs(global_T_range, maximal_velocity, global_entropy_variation,