mirror of
https://github.com/fmtlib/fmt.git
synced 2025-03-13 01:14:32 +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),
|
buffer<T>(grow, data_, 0, buffer_size),
|
||||||
out_(other.out_) {}
|
out_(other.out_) {}
|
||||||
~iterator_buffer() {
|
~iterator_buffer() {
|
||||||
FMT_TRY { flush(); }
|
|
||||||
FMT_CATCH(...) {
|
|
||||||
// Don't crash if flush fails during unwinding.
|
// Don't crash if flush fails during unwinding.
|
||||||
}
|
FMT_TRY { flush(); }
|
||||||
|
FMT_CATCH(...) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
auto out() -> OutputIt {
|
auto out() -> OutputIt {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user