From: wolf Date: Fri, 25 Feb 2000 14:52:53 +0000 (+0000) Subject: Make default_suffix `const' X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66903f856de8f61814ca775d7f537381be66d165;p=dealii-svn.git Make default_suffix `const' git-svn-id: https://svn.dealii.org/trunk@2496 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/data_out_base.h b/deal.II/base/include/base/data_out_base.h index 57d0c7f57f..f02d998557 100644 --- a/deal.II/base/include/base/data_out_base.h +++ b/deal.II/base/include/base/data_out_base.h @@ -1240,7 +1240,7 @@ class DataOutInterface : private DataOutBase * suffix for the * #default_format# is returned. */ - string default_suffix (const OutputFormat output_format = default_format); + string default_suffix (const OutputFormat output_format = default_format) const; /** * Return the #OutputFormat# value diff --git a/deal.II/base/source/data_out_base.cc b/deal.II/base/source/data_out_base.cc index b3ffdf6dbc..bf04dcbcdc 100644 --- a/deal.II/base/source/data_out_base.cc +++ b/deal.II/base/source/data_out_base.cc @@ -1802,7 +1802,7 @@ void DataOutInterface::set_flags (const GmvFlags &flags) template -string DataOutInterface::default_suffix (OutputFormat output_format) +string DataOutInterface::default_suffix (OutputFormat output_format) const { if (output_format == default_format) output_format = default_fmt;