From: Daniel Arndt Date: Sat, 29 May 2021 17:09:41 +0000 (-0400) Subject: Remove deprecated Timer::enter/exit_section X-Git-Tag: v9.4.0-rc1~1312^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14a398492197b8758cd5497682c382b6f217cadc;p=dealii.git Remove deprecated Timer::enter/exit_section --- diff --git a/include/deal.II/base/timer.h b/include/deal.II/base/timer.h index 4bcc689697..c9b5651f07 100644 --- a/include/deal.II/base/timer.h +++ b/include/deal.II/base/timer.h @@ -758,14 +758,6 @@ public: void enter_subsection(const std::string §ion_name); - /** - * Same as @p enter_subsection. - * - * @deprecated Use enter_subsection() instead. - */ - DEAL_II_DEPRECATED void - enter_section(const std::string §ion_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 §ion_name = ""); - /** - * Same as @p leave_subsection. - * - * @deprecated Use leave_subsection() instead. - */ - DEAL_II_DEPRECATED void - exit_section(const std::string §ion_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 active_sections; @@ -959,20 +943,6 @@ Timer::print_accumulated_wall_time_data(StreamType &stream) const -inline void -TimerOutput::enter_section(const std::string §ion_name) -{ - enter_subsection(section_name); -} - - - -inline void -TimerOutput::exit_section(const std::string §ion_name) -{ - leave_subsection(section_name); -} - inline TimerOutput::Scope::Scope(dealii::TimerOutput &timer_, const std::string & section_name_) : timer(timer_)