X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Fexcept.h;h=ceb95e30f13a6ebeaf83950f5a2fc711054699a9;hp=7107fe1625a856551812faa2381b597970ec511f;hb=e14c01b5775dd2e324b16ff49498db9b9113c523;hpb=a2cce9e933089f483163456e9872e005c33dd678 diff --git a/source/except.h b/source/except.h index 7107fe1..ceb95e3 100644 --- a/source/except.h +++ b/source/except.h @@ -12,7 +12,7 @@ class data_error: public std::runtime_error { private: std::string source; - unsigned line; + unsigned line = 0; public: data_error(const std::string &, unsigned, const std::string &);