X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finput.h;h=f5cd3ed24c605797aa0223f5d922cc1ea87f2d01;hb=9094bc6a657e5587e7e17827c35e3fd388fb91ec;hp=e1b2d87e0e9ea1b8e3d997012d1ef08ee1417da5;hpb=98f563736e0837a429714b98656215503c607710;p=libs%2Fdatafile.git diff --git a/source/input.h b/source/input.h index e1b2d87..f5cd3ed 100644 --- a/source/input.h +++ b/source/input.h @@ -18,7 +18,7 @@ public: int get(); int peek(); unsigned get_line_number() const { return line; } - operator bool() const { return (bool)in; } + operator bool() const { return in; } private: std::istream ∈ unsigned line;