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

No files matched your search

+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