X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Fexcept.h;fp=source%2Fexcept.h;h=8357c7e33b8ce5d25f9d03c4557869cd52dab48e;hp=ceb95e30f13a6ebeaf83950f5a2fc711054699a9;hb=d8bda96a0aac09774bb1e2a8b57ac2e48a93b3c1;hpb=fbe7e81c08a6b5a3f9ccdcbeb4dd4d351a5f4226 diff --git a/source/except.h b/source/except.h index ceb95e3..8357c7e 100644 --- a/source/except.h +++ b/source/except.h @@ -18,7 +18,7 @@ public: data_error(const std::string &, unsigned, const std::string &); data_error(const std::string &, unsigned, const std::exception &); data_error(const std::string &, unsigned, const data_error &); - virtual ~data_error() throw() = default; + ~data_error() throw() override = default; const std::string &get_source() const { return source; } unsigned get_line() const { return line; } @@ -32,7 +32,7 @@ class parse_error: public std::runtime_error { public: parse_error(const std::string &); - virtual ~parse_error() throw() = default; + ~parse_error() throw() override = default; }; @@ -40,7 +40,7 @@ class syntax_error: public std::runtime_error { public: syntax_error(const std::string &t); - virtual ~syntax_error() throw() = default; + ~syntax_error() throw() override = default; }; @@ -48,7 +48,7 @@ class bad_definition: public std::runtime_error { public: bad_definition(const std::string &w); - virtual ~bad_definition() throw() = default; + ~bad_definition() throw() override = default; }; @@ -56,7 +56,7 @@ class nesting_error: public std::logic_error { public: nesting_error(const std::string &); - virtual ~nesting_error() throw() = default; + ~nesting_error() throw() override = default; }; @@ -64,7 +64,7 @@ class unknown_keyword: public std::runtime_error { public: unknown_keyword(const std::string &); - virtual ~unknown_keyword() throw() = default; + ~unknown_keyword() throw() override = default; }; @@ -72,7 +72,7 @@ class invalid_signature: public std::runtime_error { public: invalid_signature(const std::string &, const std::string &); - virtual ~invalid_signature() throw() = default; + ~invalid_signature() throw() override = default; };