From 288c3b928b95b3e970653e0c708b142da3702fbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Tue, 29 Mar 2022 19:10:06 +0200 Subject: [PATCH] Remove dead code in ostream.h format_value --- include/fmt/ostream.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/fmt/ostream.h b/include/fmt/ostream.h index 470a4df6de9e..0c9255857a99 100644 --- a/include/fmt/ostream.h +++ b/include/fmt/ostream.h @@ -76,7 +76,6 @@ void format_value(buffer& buf, const T& value, #endif output << value; output.exceptions(std::ios_base::failbit | std::ios_base::badbit); - buf.try_resize(buf.size()); } } // namespace detail