diff options
Diffstat (limited to 'boost/date_time/gregorian/greg_day_of_year.hpp')
-rw-r--r-- | boost/date_time/gregorian/greg_day_of_year.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/boost/date_time/gregorian/greg_day_of_year.hpp b/boost/date_time/gregorian/greg_day_of_year.hpp index abf0c9eeb3..3f753e1d6a 100644 --- a/boost/date_time/gregorian/greg_day_of_year.hpp +++ b/boost/date_time/gregorian/greg_day_of_year.hpp @@ -9,7 +9,8 @@ * $Date$ */ -#include "boost/date_time/constrained_value.hpp" +#include <boost/date_time/constrained_value.hpp> +#include <boost/date_time/compiler_config.hpp> #include <stdexcept> #include <string> @@ -17,7 +18,7 @@ namespace boost { namespace gregorian { //! Exception type for day of year (1..366) - struct bad_day_of_year : public std::out_of_range + struct BOOST_SYMBOL_VISIBLE bad_day_of_year : public std::out_of_range { bad_day_of_year() : std::out_of_range(std::string("Day of year value is out of range 1..366")) |