]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/input.cpp
Move the definition of Input's operator bool to the header
[libs/datafile.git] / source / input.cpp
index 8aec39e4aa82ef6ad47506f84c4dbdf91eafd18a..4496439fcd393d3898dba41c8d48a0fcba2c245c 100644 (file)
@@ -39,10 +39,5 @@ int Input::peek()
        return next;
 }
 
-Input::operator bool() const
-{
-       return next>=0 || !in->eof();
-}
-
 } // namespace DataFile
 } // namespace Msp