diff --git a/include/boost/asio/ip/bad_address_cast.hpp b/include/boost/asio/ip/bad_address_cast.hpp index a354fbb894..24c07c1c3c 100644 --- a/include/boost/asio/ip/bad_address_cast.hpp +++ b/include/boost/asio/ip/bad_address_cast.hpp @@ -47,7 +47,7 @@ class bad_address_cast : } /// Destructor. - virtual ~bad_address_cast() noexcept {} + ~bad_address_cast() = default; /// Get the message associated with the exception. virtual const char* what() const noexcept