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-29 10:43:05 -08:00
committed by Vinnie Falco
parent 5a82673089
commit 2c2e2c0812
2 changed files with 2 additions and 1 deletions
+1 -1
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