From: Joshua Hansel Date: Tue, 4 Aug 2015 22:31:02 +0000 (-0600) Subject: added const specifier to start_step() input parameter in the TimeStepControl class X-Git-Tag: v8.4.0-rc2~680^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abe4d705e6adfac5c8e4a4de0a840f6712162111;p=dealii.git added const specifier to start_step() input parameter in the TimeStepControl class --- diff --git a/include/deal.II/algorithms/timestep_control.h b/include/deal.II/algorithms/timestep_control.h index ae1ad5f589..e657d6719b 100644 --- a/include/deal.II/algorithms/timestep_control.h +++ b/include/deal.II/algorithms/timestep_control.h @@ -143,7 +143,7 @@ namespace Algorithms * @param[in] step The size of the first step, which may be overwritten by * the time stepping strategy. */ - void start_step (double step); + void start_step (const double step); /** * Set size of the maximum step size. @@ -252,7 +252,7 @@ namespace Algorithms inline void - TimestepControl::start_step (double t) + TimestepControl::start_step (const double t) { start_step_val = t; }