X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Finput.h;h=ad921ec62963883da68a66092b740b7256553187;hp=eeb18407ec2848927cdef93507180987c71d4cbe;hb=e26f7e98e5d8a5666192a43348b3ca7a35f6b860;hpb=d84673be1c2fe8bd32ddaa7877529855cad6daa0 diff --git a/source/input.h b/source/input.h index eeb1840..ad921ec 100644 --- a/source/input.h +++ b/source/input.h @@ -19,7 +19,7 @@ public: int get(); int peek(); unsigned get_line_number() const { return line; } - operator bool() const { return !in.eof(); } + operator bool() const; private: IO::Base ∈ unsigned line;