fixed bug where read would not be called
This commit is contained in:
parent
2165710720
commit
d249f3ae6c
@ -17,6 +17,9 @@
|
|||||||
using namespace sc::io;
|
using namespace sc::io;
|
||||||
|
|
||||||
std::streambuf::int_type fdinbuf::uflow() {
|
std::streambuf::int_type fdinbuf::uflow() {
|
||||||
|
if (_ch == EOF) {
|
||||||
|
return underflow();
|
||||||
|
}
|
||||||
return _ch;
|
return _ch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user