input/buffered: rethrow read_error in Check()
This commit is contained in:
parent
63fe4d1d17
commit
ca5a400dbe
@ -59,6 +59,9 @@ BufferedInputStream::~BufferedInputStream() noexcept
|
||||
void
|
||||
BufferedInputStream::Check()
|
||||
{
|
||||
if (read_error)
|
||||
std::rethrow_exception(read_error);
|
||||
|
||||
if (input)
|
||||
input->Check();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user