From 2c2e2c0812d36a6b4d48dbfcd8ea009cdba4da1d Mon Sep 17 00:00:00 2001 From: Cristian Morales Vega Date: Fri, 28 Feb 2020 13:04:21 +0000 Subject: [PATCH] detail::ostream_buffer is final: The Clang Static Analyzer was complaining about the fact the destructor calls a virtual function. This silences it. close #1862 --- CHANGELOG.md | 1 + include/boost/beast/core/detail/ostream.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50d2dfd8..3dd7e7fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ Version 286: * Refactor flat_buffer * Refactor flat_static_buffer * Fix missing include in sha1.hpp +* Fix ostream warning API Changes: diff --git a/include/boost/beast/core/detail/ostream.hpp b/include/boost/beast/core/detail/ostream.hpp index 062a82d7..05861d30 100644 --- a/include/boost/beast/core/detail/ostream.hpp +++ b/include/boost/beast/core/detail/ostream.hpp @@ -42,7 +42,7 @@ class ostream_buffer; template class ostream_buffer - + final : public std::basic_streambuf { using int_type = typename