Minor cleanup

This commit is contained in:
Victor Zverovich 2024-01-07 15:04:38 -08:00
parent dbdfc99fa1
commit 17f79ac6cf

View File

@ -973,10 +973,9 @@ class iterator_buffer : public Traits, public buffer<T> {
buffer<T>(grow, data_, 0, buffer_size),
out_(other.out_) {}
~iterator_buffer() {
// Don't crash if flush fails during unwinding.
FMT_TRY { flush(); }
FMT_CATCH(...) {
// Don't crash if flush fails during unwinding.
}
FMT_CATCH(...) {}
}
auto out() -> OutputIt {