From: David Wells Date: Mon, 18 May 2020 17:26:18 +0000 (-0400) Subject: Remove a pessimizing move. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=062521afb27ed765842ed4085e002cbf543b8ca5;p=code-gallery.git Remove a pessimizing move. Also a GCC warning. --- diff --git a/MCMC-Laplace/mcmc-laplace.cc b/MCMC-Laplace/mcmc-laplace.cc index ef84546..ed77409 100644 --- a/MCMC-Laplace/mcmc-laplace.cc +++ b/MCMC-Laplace/mcmc-laplace.cc @@ -385,7 +385,7 @@ namespace ForwardSimulator if (nth_evaluation % 10000 == 0) timer.print_summary(); - return std::move(measurements); + return measurements; } } // namespace ForwardSimulator