From 79d76b885dff8e87ae6fe6c92155345619c09182 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 1 Jun 2020 22:26:40 -0400 Subject: [PATCH] Fix implicit capture warning in step-32 --- examples/step-32/step-32.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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, -- 2.39.5