From: Daniel Arndt Date: Fri, 18 Oct 2019 14:54:18 +0000 (-0400) Subject: Use empty function object for copier X-Git-Tag: v9.2.0-rc1~966^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8891%2Fhead;p=dealii.git Use empty function object for copier --- diff --git a/examples/step-51/step-51.cc b/examples/step-51/step-51.cc index 269ef7ec13..433632338d 100644 --- a/examples/step-51/step-51.cc +++ b/examples/step-51/step-51.cc @@ -1035,7 +1035,7 @@ namespace Step51 unsigned int & data) { this->postprocess_one_cell(cell, scratch, data); }, - [](const unsigned int &) {}, + std::function(), scratch, 0U); } diff --git a/examples/step-9/step-9.cc b/examples/step-9/step-9.cc index 7a19ff1ecb..836afd2be5 100644 --- a/examples/step-9/step-9.cc +++ b/examples/step-9/step-9.cc @@ -955,7 +955,7 @@ namespace Step9 WorkStream::run(dof_handler.begin_active(), dof_handler.end(), &GradientEstimation::template estimate_cell, - [](const EstimateCopyData &) {}, + std::function(), EstimateScratchData(dof_handler.get_fe(), solution, error_per_cell),