diff --git a/dune/gdt/functionals/localizable-functional.hh b/dune/gdt/functionals/localizable-functional.hh index 6fb4dc6291a9e12b7cb7e647d79935ddf11d8b04..9502d58c1b0985b796fce59242ff052e816d1f77 100644 --- a/dune/gdt/functionals/localizable-functional.hh +++ b/dune/gdt/functionals/localizable-functional.hh @@ -58,7 +58,8 @@ public: , result_(0.) { // to detect assembly - this->append([&](const auto&) { assembled_ = true; }); + this->append( + [](/*prepare nothing*/) {}, [](const auto&) { /*apply nothing*/ }, [&](/*finalize*/) { assembled_ = true; }); } const SourceType& source() const diff --git a/dune/gdt/functionals/vector-based.hh b/dune/gdt/functionals/vector-based.hh index 261274e7f1dec74c937441a235707062308eefb3..5361b4b170b69a1cc05f04fbc6fe911a4683f994 100644 --- a/dune/gdt/functionals/vector-based.hh +++ b/dune/gdt/functionals/vector-based.hh @@ -177,7 +177,8 @@ public: , assembled_(false) { // to detect assembly - this->append([&](const auto&) { assembled_ = true; }); + this->append( + [](/*prepare nothing*/) {}, [](const auto&) { /*apply nothing*/ }, [&](/*finalize*/) { assembled_ = true; }); } /** @@ -193,7 +194,8 @@ public: , assembled_(false) { // to detect assembly - this->append([&](const auto&) { assembled_ = true; }); + this->append( + [](/*prepare nothing*/) {}, [](const auto&) { /*apply nothing*/ }, [&](/*finalize*/) { assembled_ = true; }); } /// \} diff --git a/dune/gdt/operators/localizable-bilinear-form.hh b/dune/gdt/operators/localizable-bilinear-form.hh index fa971108596232189eb6e56e90a7ace850fe7e53..500cf6984ce3e9cde9b3aa334c4c6edc1dbda626 100644 --- a/dune/gdt/operators/localizable-bilinear-form.hh +++ b/dune/gdt/operators/localizable-bilinear-form.hh @@ -74,7 +74,8 @@ public: , result_(0.) { // to detect assembly - this->append([&](const auto&) { assembled_ = true; }); + this->append( + [](/*prepare nothing*/) {}, [](const auto&) { /*apply nothing*/ }, [&](/*finalize*/) { assembled_ = true; }); } const SourceType& source() const diff --git a/dune/gdt/operators/localizable-operator.hh b/dune/gdt/operators/localizable-operator.hh index d6f2a8b707ee9aff6d4d2ce75f8f60f1f915c50f..098dfcc3d95ba5f4f98ea7438507bea5237476e7 100644 --- a/dune/gdt/operators/localizable-operator.hh +++ b/dune/gdt/operators/localizable-operator.hh @@ -91,7 +91,8 @@ public: , assembled_(false) { // to detect assembly - this->append([&](const auto&) { assembled_ = true; }); + this->append( + [](/*prepare nothing*/) {}, [](const auto&) { /*apply nothing*/ }, [&](/*finalize*/) { assembled_ = true; }); } const SourceType& source() const diff --git a/dune/gdt/operators/matrix-based.hh b/dune/gdt/operators/matrix-based.hh index 4717b311d54c0f79f74bc60a7834668bcb323dd5..c013f9cae36c3e9f498d562ff5b40d0568b77f44 100644 --- a/dune/gdt/operators/matrix-based.hh +++ b/dune/gdt/operators/matrix-based.hh @@ -316,7 +316,8 @@ public: , assembled_(false) { // to detect assembly - this->append([&](const auto&) { assembled_ = true; }); + this->append( + [](/*prepare nothing*/) {}, [](const auto&) { /*apply nothing*/ }, [&](/*finalize*/) { assembled_ = true; }); } /** @@ -333,7 +334,8 @@ public: , assembled_(false) { // to detect assembly - this->append([&](const auto&) { assembled_ = true; }); + this->append( + [](/*prepare nothing*/) {}, [](const auto&) { /*apply nothing*/ }, [&](/*finalize*/) { assembled_ = true; }); } using OperatorBaseType::matrix;