From: Daniel Arndt Date: Mon, 4 May 2020 14:20:30 +0000 (-0400) Subject: Avoid deprecated implicit this capture X-Git-Tag: v9.2.0-rc1~134^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10029%2Fhead;p=dealii.git Avoid deprecated implicit this capture --- diff --git a/examples/step-69/step-69.cc b/examples/step-69/step-69.cc index 6e43d71be6..a1906f05dc 100644 --- a/examples/step-69/step-69.cc +++ b/examples/step-69/step-69.cc @@ -1797,7 +1797,7 @@ namespace Step69 // velocity $u$, and pressure $p$) into a conserved n-dimensional state // (density $\rho$, momentum $\mathbf{m}$, and total energy $E$). - initial_state = [=](const Point & /*point*/, double /*t*/) { + initial_state = [this](const Point & /*point*/, double /*t*/) { const double rho = initial_1d_state[0]; const double u = initial_1d_state[1]; const double p = initial_1d_state[2];