Remove dead code in ostream.h format_value

This commit is contained in:
Jean-Michaël Celerier 2022-03-29 19:10:06 +02:00 committed by Victor Zverovich
parent 96930161f9
commit 288c3b928b

View File

@ -76,7 +76,6 @@ void format_value(buffer<Char>& buf, const T& value,
#endif #endif
output << value; output << value;
output.exceptions(std::ios_base::failbit | std::ios_base::badbit); output.exceptions(std::ios_base::failbit | std::ios_base::badbit);
buf.try_resize(buf.size());
} }
} // namespace detail } // namespace detail