]> git.tdb.fi Git - libs/core.git/blobdiff - source/strings/regex.h
Mark constructors and destructors as default where appropriate
[libs/core.git] / source / strings / regex.h
index e830c5bbda253cb111e7e3e07199707c8b884e73..ed53009f920cf6b341d1891dbcc6d89ab3229aa6 100644 (file)
@@ -11,7 +11,7 @@ class bad_regex: public std::logic_error
 {
 public:
        bad_regex(const std::string &, const std::string &, const std::string::const_iterator &);
-       virtual ~bad_regex() throw() { }
+       virtual ~bad_regex() throw() = default;
 
 private:
        std::string make_where(const std::string &, const std::string::const_iterator &);