From 14a398492197b8758cd5497682c382b6f217cadc Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sat, 29 May 2021 13:09:41 -0400 Subject: [PATCH] Remove deprecated Timer::enter/exit_section --- include/deal.II/base/timer.h | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) 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_) -- 2.39.5