]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Step-81: Make clang-tidy happy 12807/head
authorMatthias Maier <tamiko@43-1.org>
Thu, 26 May 2022 02:20:00 +0000 (21:20 -0500)
committerMatthias Maier <tamiko@43-1.org>
Thu, 26 May 2022 05:16:02 +0000 (00:16 -0500)
examples/step-81/step-81.cc

index 22bf2e8acd5a561fa27156cf2fa13c83407c07c2..d6bb85848b67b7ed7a3185a2af80eff4ab65676b 100644 (file)
@@ -462,7 +462,7 @@ namespace Step81
     , dof_handler(triangulation)
   {
     ParameterAcceptor::parse_parameters_call_back.connect(
-      std::bind(&Maxwell<dim>::parse_parameters_callback, this));
+      [&]() { parse_parameters_callback(); });
 
     scaling = 20;
     add_parameter("scaling", scaling, "scale of the hypercube geometry");

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.