]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make one function const.
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 9 Jun 2009 12:35:18 +0000 (12:35 +0000)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 9 Jun 2009 12:35:18 +0000 (12:35 +0000)
git-svn-id: https://svn.dealii.org/trunk@18921 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 6d6c9b80587ba308f6aa66e7da6b7a1f65cc3a73..172ba51df41a60c241c6e2497ccad7b68917163b 100644 (file)
@@ -362,7 +362,7 @@ class TimerOutput
                                      * summarizes the time consumed in the
                                      * various sections.
                                      */
-    void print_summary ();
+    void print_summary () const;
 
   private:
                                     /**
index 48d91776a60237ce09351475d2828be42b2e52b1..281370c31701c72804f56746bcc61bd7cfd1405c 100644 (file)
@@ -374,7 +374,7 @@ TimerOutput::exit_section (const std::string &section_name)
 
 
 void 
-TimerOutput::print_summary ()
+TimerOutput::print_summary () const
 {
                                // in case we want to write CPU times
   if (output_type != wall_times)

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.