fixed bug where read would not be called
This commit is contained in:
1 parent
2165710720
commit
d249f3ae6c
1 file changed
+3
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user