diff options
Diffstat (limited to 'boost/date_time/gregorian/greg_year.hpp')
-rw-r--r-- | boost/date_time/gregorian/greg_year.hpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/boost/date_time/gregorian/greg_year.hpp b/boost/date_time/gregorian/greg_year.hpp index 3d98fd06b2..ebcb49e206 100644 --- a/boost/date_time/gregorian/greg_year.hpp +++ b/boost/date_time/gregorian/greg_year.hpp @@ -9,7 +9,8 @@ * $Date$ */ -#include "boost/date_time/constrained_value.hpp" +#include <boost/date_time/compiler_config.hpp> +#include <boost/date_time/constrained_value.hpp> #include <stdexcept> #include <string> @@ -17,7 +18,7 @@ namespace boost { namespace gregorian { //! Exception type for gregorian year - struct bad_year : public std::out_of_range + struct BOOST_SYMBOL_VISIBLE bad_year : public std::out_of_range { bad_year() : std::out_of_range(std::string("Year is out of valid range: 1400..10000")) @@ -36,12 +37,10 @@ namespace gregorian { at the moment, but they are the limits of current testing of the library. As such they may be increased in the future. */ - class greg_year : public greg_year_rep { + class BOOST_SYMBOL_VISIBLE greg_year : public greg_year_rep { public: greg_year(unsigned short year) : greg_year_rep(year) {} operator unsigned short() const {return value_;} - private: - }; |