X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Fparser.h;fp=source%2Fparser.h;h=c15fee8eb6ade6445d2f485ae5b86fe7a23f199d;hp=c7c10f162f3339b4085f88df03afe69dc5bad3dc;hb=9d0291952255969770e4978a0fe9e7e4839359c8;hpb=f2f933f53cd729ca034e054085b96107f64f3928 diff --git a/source/parser.h b/source/parser.h index c7c10f1..c15fee8 100644 --- a/source/parser.h +++ b/source/parser.h @@ -51,7 +51,7 @@ public: statement's signature. */ bool parse_and_load(unsigned, Loader &, const LoaderAction &); - operator bool() const { return good && in; } + explicit operator bool() const { return good && in; } }; } // namespace DataFile