From 3ca0eca36001dd6206e9366b6c309629f63e88e7 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 4 May 2020 10:20:30 -0400 Subject: [PATCH] Avoid deprecated implicit this capture --- examples/step-69/step-69.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.39.5