mirror of
https://github.com/jezhiggins/arabica
synced 2024-11-17 07:48:50 +01:00
Ensure the stream is flushed
This commit is contained in:
parent
5064d9c19c
commit
6b28b28af5
1 changed files with 4 additions and 1 deletions
|
@ -286,7 +286,10 @@ class oconvert_adaptor : private convert_adaptor_buffer<charT, traitsT, toCharT,
|
|||
{
|
||||
} // oconvert_adaptor
|
||||
|
||||
virtual ~oconvert_adaptor() { }
|
||||
virtual ~oconvert_adaptor()
|
||||
{
|
||||
flush();
|
||||
} // ~oconvert_adaptor
|
||||
|
||||
convert_bufadaptor<charT, traitsT>* rdbuf() const
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue