X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fstringcodec%2Fexcept.h;h=0c7b690d5d47e4acdfb454b9ff4a4ba100a675e3;hp=6e2566682669ec0bbdc6a925d4fca2fb653c2250;hb=991fabc1956b73a4007859058fb44171000b452e;hpb=94ee3a1040f67d9de2e92fc34049642b08d65b3e diff --git a/source/stringcodec/except.h b/source/stringcodec/except.h index 6e25666..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() { } + ~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() { } + ~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() { } + ~invalid_sequence() throw() override = default; private: std::string format_sequence(const std::string::const_iterator &, const std::string::const_iterator &);