mirror of
https://github.com/fmtlib/fmt.git
synced 2025-03-12 16:14:02 +00:00
Minor cleanup
This commit is contained in:
parent
dbdfc99fa1
commit
17f79ac6cf
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user