From 78213fef7a9d7612c5018489717524a513df789f Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Fri, 18 Oct 2019 10:54:18 -0400 Subject: [PATCH] Use empty function object for copier --- examples/step-51/step-51.cc | 2 +- examples/step-9/step-9.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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), -- 2.39.5