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
This commit is contained in:
Cristian Morales Vega
2020-02-28 13:04:21 +00:00
committed by Vinnie Falco
parent 5a82673089
commit 2c2e2c0812
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ Version 286:
* Refactor flat_buffer
* Refactor flat_static_buffer
* Fix missing include in sha1.hpp
* Fix ostream warning
API Changes:

View File

@ -42,7 +42,7 @@ class ostream_buffer;
template<class DynamicBuffer, class CharT, class Traits>
class ostream_buffer
<DynamicBuffer, CharT, Traits, true>
<DynamicBuffer, CharT, Traits, true> final
: public std::basic_streambuf<CharT, Traits>
{
using int_type = typename