From 2e658f9301419854c04bdfe357bd87de694a5792 Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 28 May 2014 22:32:42 +0000 Subject: [PATCH] Remove unnecessary 'const' specifiers that Intel ICC complains about. git-svn-id: https://svn.dealii.org/trunk@32988 0785d39b-7218-0410-832d-ea1e28bc413d --- .../deal.II/algorithms/theta_timestepping.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/deal.II/include/deal.II/algorithms/theta_timestepping.h b/deal.II/include/deal.II/algorithms/theta_timestepping.h index 58bb77caa9..492af1cee1 100644 --- a/deal.II/include/deal.II/algorithms/theta_timestepping.h +++ b/deal.II/include/deal.II/algorithms/theta_timestepping.h @@ -1,7 +1,7 @@ // --------------------------------------------------------------------- // $Id$ // -// Copyright (C) 2010 - 2013 by the deal.II authors +// Copyright (C) 2010 - 2014 by the deal.II authors // // This file is part of the deal.II library. // @@ -246,20 +246,20 @@ namespace Algorithms * The current time in the * timestepping scheme. */ - const double current_time() const; + double current_time() const; /** * The current step size. */ - const double step_size() const; + double step_size() const; /** * The weight between implicit and explicit part. */ - const double theta() const; + double theta() const; /** * Set a new weight and return the old */ - const double theta(double new_theta); + double theta(double new_theta); /** * The data handed to the #op_explicit time stepping operator. @@ -380,7 +380,7 @@ namespace Algorithms template inline - const double ThetaTimestepping::theta () const + double ThetaTimestepping::theta () const { return vtheta; } @@ -388,7 +388,7 @@ namespace Algorithms template inline - const double ThetaTimestepping::theta (double new_theta) + double ThetaTimestepping::theta (double new_theta) { const double tmp = vtheta; vtheta = new_theta; @@ -398,7 +398,7 @@ namespace Algorithms template inline - const double ThetaTimestepping::current_time () const + double ThetaTimestepping::current_time () const { return control.now(); } -- 2.39.5