diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:08:07 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:09:00 +0900 |
commit | b5c87084afaef42b2d058f68091be31988a6a874 (patch) | |
tree | adef9a65870a41181687e11d57fdf98e7629de3c /boost/date_time/local_time/posix_time_zone.hpp | |
parent | 34bd32e225e2a8a94104489b31c42e5801cc1f4a (diff) | |
download | boost-b5c87084afaef42b2d058f68091be31988a6a874.tar.gz boost-b5c87084afaef42b2d058f68091be31988a6a874.tar.bz2 boost-b5c87084afaef42b2d058f68091be31988a6a874.zip |
Imported Upstream version 1.64.0upstream/1.64.0
Change-Id: Id9212edd016dd55f21172c427aa7894d1d24148b
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/date_time/local_time/posix_time_zone.hpp')
-rw-r--r-- | boost/date_time/local_time/posix_time_zone.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/boost/date_time/local_time/posix_time_zone.hpp b/boost/date_time/local_time/posix_time_zone.hpp index d0ef31d5b8..9c2c04ba41 100644 --- a/boost/date_time/local_time/posix_time_zone.hpp +++ b/boost/date_time/local_time/posix_time_zone.hpp @@ -13,6 +13,7 @@ #include <stdexcept> #include <boost/tokenizer.hpp> #include <boost/throw_exception.hpp> +#include <boost/date_time/compiler_config.hpp> #include <boost/date_time/gregorian/gregorian.hpp> #include <boost/date_time/time_zone_names.hpp> #include <boost/date_time/time_zone_base.hpp> @@ -25,13 +26,13 @@ namespace boost{ namespace local_time{ //! simple exception for UTC and Daylight savings start/end offsets - struct bad_offset : public std::out_of_range + struct BOOST_SYMBOL_VISIBLE bad_offset : public std::out_of_range { bad_offset(std::string const& msg = std::string()) : std::out_of_range(std::string("Offset out of range: " + msg)) {} }; //! simple exception for UTC daylight savings adjustment - struct bad_adjustment : public std::out_of_range + struct BOOST_SYMBOL_VISIBLE bad_adjustment : public std::out_of_range { bad_adjustment(std::string const& msg = std::string()) : std::out_of_range(std::string("Adjustment out of range: " + msg)) {} @@ -67,7 +68,7 @@ namespace local_time{ * http://www.worldtimezone.com/utc/utc+1200.html */ template<class CharT> - class posix_time_zone_base : public date_time::time_zone_base<posix_time::ptime,CharT> { + class BOOST_SYMBOL_VISIBLE posix_time_zone_base : public date_time::time_zone_base<posix_time::ptime,CharT> { public: typedef boost::posix_time::time_duration time_duration_type; typedef date_time::time_zone_names_base<CharT> time_zone_names; |