diff --git a/include/boost/numeric/conversion/converter_policies.hpp b/include/boost/numeric/conversion/converter_policies.hpp index 1619d64..382ffd4 100644 --- a/include/boost/numeric/conversion/converter_policies.hpp +++ b/include/boost/numeric/conversion/converter_policies.hpp @@ -10,14 +10,13 @@ #ifndef BOOST_NUMERIC_CONVERSION_CONVERTER_POLICIES_FLC_12NOV2002_HPP #define BOOST_NUMERIC_CONVERSION_CONVERTER_POLICIES_FLC_12NOV2002_HPP +#include #include // for std::bad_cast #include #include // for std::floor and std::ceil #include -#include - #include "boost/type_traits/is_arithmetic.hpp" #include "boost/mpl/if.hpp" @@ -137,7 +136,7 @@ class bad_numeric_cast : public std::bad_cast { public: - virtual const char * what() const BOOST_NOEXCEPT_OR_NOTHROW + const char * what() const BOOST_NOEXCEPT_OR_NOTHROW BOOST_OVERRIDE { return "bad numeric conversion: overflow"; } }; @@ -145,14 +144,14 @@ class negative_overflow : public bad_numeric_cast { public: - virtual const char * what() const BOOST_NOEXCEPT_OR_NOTHROW + const char * what() const BOOST_NOEXCEPT_OR_NOTHROW BOOST_OVERRIDE { return "bad numeric conversion: negative overflow"; } }; class positive_overflow : public bad_numeric_cast { public: - virtual const char * what() const BOOST_NOEXCEPT_OR_NOTHROW + const char * what() const BOOST_NOEXCEPT_OR_NOTHROW BOOST_OVERRIDE { return "bad numeric conversion: positive overflow"; } };