💄 cleanup

parent 35829928
......@@ -82,7 +82,9 @@ class input_stream_adapter : public input_adapter_protocol
auto res = sb.sbumpc();
// set eof manually, as we don't use the istream interface.
if (res == EOF)
{
is.clear(is.rdstate() | std::ios::eofbit);
}
return res;
}
......
......@@ -2131,7 +2131,9 @@ class input_stream_adapter : public input_adapter_protocol
auto res = sb.sbumpc();
// set eof manually, as we don't use the istream interface.
if (res == EOF)
{
is.clear(is.rdstate() | std::ios::eofbit);
}
return res;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment