X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finput.h;h=f5cd3ed24c605797aa0223f5d922cc1ea87f2d01;hb=9094bc6a657e5587e7e17827c35e3fd388fb91ec;hp=12d3eff08dff23156fe3f43a59037157e21aface;hpb=5453824394771ca21de32088a2842486b63e6f6d;p=libs%2Fdatafile.git diff --git a/source/input.h b/source/input.h index 12d3eff..f5cd3ed 100644 --- a/source/input.h +++ b/source/input.h @@ -1,6 +1,6 @@ /* This file is part of libmspparser -Copyright © 2006 Mikko Rasa, Mikkosoft Productions +Copyright © 2006 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ #ifndef MSP_PARSER_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;