]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove deprecated Timer::enter/exit_section
authorDaniel Arndt <arndtd@ornl.gov>
Sat, 29 May 2021 17:09:41 +0000 (13:09 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Sat, 29 May 2021 17:36:57 +0000 (13:36 -0400)
include/deal.II/base/timer.h

index 4bcc689697e8ebbe84e839a792983d822fc7c2e3..c9b5651f070eb480b143db72817e6f6652aedbbe 100644 (file)
@@ -758,14 +758,6 @@ public:
   void
   enter_subsection(const std::string &section_name);
 
-  /**
-   * Same as @p enter_subsection.
-   *
-   * @deprecated Use enter_subsection() instead.
-   */
-  DEAL_II_DEPRECATED void
-  enter_section(const std::string &section_name);
-
   /**
    * Leave a section. If no name is given, the last section that was entered
    * is left.
@@ -773,14 +765,6 @@ public:
   void
   leave_subsection(const std::string &section_name = "");
 
-  /**
-   * Same as @p leave_subsection.
-   *
-   * @deprecated Use leave_subsection() instead.
-   */
-  DEAL_II_DEPRECATED void
-  exit_section(const std::string &section_name = "");
-
   /**
    * Get a map with the collected data of the specified type for each subsection
    */
@@ -888,7 +872,7 @@ private:
   /**
    * A list of the sections that have been entered and not exited. The list is
    * kept in the order in which sections have been entered, but elements may
-   * be removed in the middle if an argument is given to the exit_section()
+   * be removed in the middle if an argument is given to the leave_section()
    * function.
    */
   std::list<std::string> active_sections;
@@ -959,20 +943,6 @@ Timer::print_accumulated_wall_time_data(StreamType &stream) const
 
 
 
-inline void
-TimerOutput::enter_section(const std::string &section_name)
-{
-  enter_subsection(section_name);
-}
-
-
-
-inline void
-TimerOutput::exit_section(const std::string &section_name)
-{
-  leave_subsection(section_name);
-}
-
 inline TimerOutput::Scope::Scope(dealii::TimerOutput &timer_,
                                  const std::string &  section_name_)
   : timer(timer_)

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.