diff --git a/include/boost/regex/v5/pattern_except.hpp b/include/boost/regex/v5/pattern_except.hpp index 3fbdca0a2..d71a32b7b 100644 --- a/include/boost/regex/v5/pattern_except.hpp +++ b/include/boost/regex/v5/pattern_except.hpp @@ -52,7 +52,7 @@ class regex_error : public std::runtime_error , m_position(0) { } - ~regex_error() noexcept override {} + ~regex_error() noexcept override = default; regex_constants::error_type code()const { return m_error_code; } std::ptrdiff_t position()const