mirror of
https://github.com/boostorg/process.git
synced 2026-01-19 04:22:15 +00:00
Fixed compile warning on msvc
This commit is contained in:
committed by
Klemens Morgenstern
parent
502dc48753
commit
507768e230
@@ -122,13 +122,15 @@ struct basic_pipebuf : std::basic_streambuf<CharT, Traits>
|
||||
|
||||
///Destructor -> writes the frest of the data
|
||||
~basic_pipebuf()
|
||||
try
|
||||
{
|
||||
if (basic_pipebuf::is_open())
|
||||
basic_pipebuf::overflow(Traits::eof());
|
||||
}
|
||||
catch (process_error & )
|
||||
{
|
||||
try
|
||||
{
|
||||
if (basic_pipebuf::is_open())
|
||||
basic_pipebuf::overflow(Traits::eof());
|
||||
}
|
||||
catch (process_error & )
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
///Move construct from a pipe.
|
||||
|
||||
Reference in New Issue
Block a user