X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fio%2Fbase.h;fp=source%2Fio%2Fbase.h;h=700dae7646180266d5393991e2b4d799ac7c1d2c;hp=9447c66fc9a6551dcdcb5644c9333b882de7dcec;hb=82d74297d5b469b0a506d7010a84ab5115cd88ee;hpb=2749f89e25c9b1bfb76803ee01b780790cd3f96a diff --git a/source/io/base.h b/source/io/base.h index 9447c66..700dae7 100644 --- a/source/io/base.h +++ b/source/io/base.h @@ -85,6 +85,10 @@ public: to end-of-file or non-blocking operation. */ virtual int get(); +protected: + void set_eof(); + +public: /** Returns the end-of-file flag. */ bool eof() const { return eof_flag; } };