src/diagnostics/Timing.cc
void Timing_Diagnostics::delete_timers() {
  // null map
  std::map<std::string, double> null;

  // swap it with timers
  timers.swap(null);
  Ensure(timers.empty());
}
//------------------------------------------------------------------------------------------------//
//! Delete all timers from the map.
Delete all timers from the map.
Delete all timers from the map .
void Timing_Diagnostics::delete_timers() {
  std::map<std::string, double> null;
  timers.swap(null);
  Ensure(timers.empty());
}
void Timing_Diagnostics :: delete_timers ( ) { std :: map < std :: string , double > null ; timers . swap ( null ) ; Ensure ( timers . empty ( ) ) ; }
Delete all timers from the map.
Delete all timers from the map .
// null map // swap it with timers