X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fstringcodec%2Fexcept.h;fp=source%2Fstringcodec%2Fexcept.h;h=0c7b690d5d47e4acdfb454b9ff4a4ba100a675e3;hp=a1126e71f13286c6d3accf0650e79fe8b6d13e07;hb=991fabc1956b73a4007859058fb44171000b452e;hpb=f832af5e832a5be2804e5613a73e7cc75428956c diff --git a/source/stringcodec/except.h b/source/stringcodec/except.h index a1126e7..0c7b690 100644 --- a/source/stringcodec/except.h +++ b/source/stringcodec/except.h @@ -14,7 +14,7 @@ class codec_error: public std::runtime_error { public: codec_error(const std::string &w): std::runtime_error(w) { } - virtual ~codec_error() throw() = default; + ~codec_error() throw() override = default; }; @@ -25,7 +25,7 @@ class invalid_character: public codec_error { public: invalid_character(unichar, const std::string &); - virtual ~invalid_character() throw() = default; + ~invalid_character() throw() override = default; }; @@ -36,7 +36,7 @@ class invalid_sequence: public codec_error { public: invalid_sequence(const std::string::const_iterator &, const std::string::const_iterator &, const std::string &); - virtual ~invalid_sequence() throw() = default; + ~invalid_sequence() throw() override = default; private: std::string format_sequence(const std::string::const_iterator &, const std::string::const_iterator &);