]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make default_suffix `const'
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 25 Feb 2000 14:52:53 +0000 (14:52 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 25 Feb 2000 14:52:53 +0000 (14:52 +0000)
git-svn-id: https://svn.dealii.org/trunk@2496 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/data_out_base.h
deal.II/base/source/data_out_base.cc

index 57d0c7f57f8d65accc48d2de69ae4d4e2c38251d..f02d9985578a9d5e003de46f295ca40d63465dc4 100644 (file)
@@ -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
index b3ffdf6dbca4a2cb8dc302a298d574f516aa89ea..bf04dcbcdc8d259c00910fe4a52b495e4ded9a7a 100644 (file)
@@ -1802,7 +1802,7 @@ void DataOutInterface<dim>::set_flags (const GmvFlags &flags)
 
 
 template <int dim>
-string DataOutInterface<dim>::default_suffix (OutputFormat output_format) 
+string DataOutInterface<dim>::default_suffix (OutputFormat output_format) const
 {
   if (output_format == default_format)
     output_format = default_fmt;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.