diff --git a/include/boost/regex/v5/basic_regex.hpp b/include/boost/regex/v5/basic_regex.hpp index 5c73775f..230dc514 100644 --- a/include/boost/regex/v5/basic_regex.hpp +++ b/include/boost/regex/v5/basic_regex.hpp @@ -488,7 +488,7 @@ public: } // // swap: - void swap(basic_regex& that)throw() + void swap(basic_regex& that)noexcept { m_pimpl.swap(that.m_pimpl); }