]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/input.h
Fix EOF handling
[libs/datafile.git] / source / input.h
index eeb18407ec2848927cdef93507180987c71d4cbe..ad921ec62963883da68a66092b740b7256553187 100644 (file)
@@ -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;