From b5c87084afaef42b2d058f68091be31988a6a874 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Wed, 13 Sep 2017 11:08:07 +0900 Subject: Imported Upstream version 1.64.0 Change-Id: Id9212edd016dd55f21172c427aa7894d1d24148b Signed-off-by: DongHun Kwak --- boost/date_time/posix_time/date_duration_operators.hpp | 2 +- boost/date_time/posix_time/posix_time_config.hpp | 4 ++-- boost/date_time/posix_time/posix_time_duration.hpp | 9 +++++---- boost/date_time/posix_time/ptime.hpp | 11 ++++++----- 4 files changed, 14 insertions(+), 12 deletions(-) (limited to 'boost/date_time/posix_time') diff --git a/boost/date_time/posix_time/date_duration_operators.hpp b/boost/date_time/posix_time/date_duration_operators.hpp index 60821f0c46..f3c61d7a95 100644 --- a/boost/date_time/posix_time/date_duration_operators.hpp +++ b/boost/date_time/posix_time/date_duration_operators.hpp @@ -1,6 +1,6 @@ #ifndef DATE_DURATION_OPERATORS_HPP___ #define DATE_DURATION_OPERATORS_HPP___ - + /* Copyright (c) 2004 CrystalClear Software, Inc. * Subject to the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or diff --git a/boost/date_time/posix_time/posix_time_config.hpp b/boost/date_time/posix_time/posix_time_config.hpp index 60b34683fd..996afcae59 100644 --- a/boost/date_time/posix_time/posix_time_config.hpp +++ b/boost/date_time/posix_time/posix_time_config.hpp @@ -54,7 +54,7 @@ namespace posix_time { //! Base time duration type /*! \ingroup time_basics */ - class time_duration : + class BOOST_SYMBOL_VISIBLE time_duration : public date_time::time_duration { public: @@ -134,7 +134,7 @@ namespace posix_time { } }; - class posix_time_system_config + class BOOST_SYMBOL_VISIBLE posix_time_system_config { public: typedef simple_time_rep time_rep_type; diff --git a/boost/date_time/posix_time/posix_time_duration.hpp b/boost/date_time/posix_time/posix_time_duration.hpp index 34380de904..1143cedb57 100644 --- a/boost/date_time/posix_time/posix_time_duration.hpp +++ b/boost/date_time/posix_time/posix_time_duration.hpp @@ -9,7 +9,8 @@ * $Date$ */ -#include "boost/date_time/posix_time/posix_time_config.hpp" +#include +#include namespace boost { namespace posix_time { @@ -17,7 +18,7 @@ namespace posix_time { //! Allows expression of durations as an hour count /*! \ingroup time_basics */ - class hours : public time_duration + class BOOST_SYMBOL_VISIBLE hours : public time_duration { public: explicit hours(long h) : @@ -28,7 +29,7 @@ namespace posix_time { //! Allows expression of durations as a minute count /*! \ingroup time_basics */ - class minutes : public time_duration + class BOOST_SYMBOL_VISIBLE minutes : public time_duration { public: explicit minutes(long m) : @@ -39,7 +40,7 @@ namespace posix_time { //! Allows expression of durations as a seconds count /*! \ingroup time_basics */ - class seconds : public time_duration + class BOOST_SYMBOL_VISIBLE seconds : public time_duration { public: explicit seconds(long s) : diff --git a/boost/date_time/posix_time/ptime.hpp b/boost/date_time/posix_time/ptime.hpp index e4f9d02d1f..c97edf9cfb 100644 --- a/boost/date_time/posix_time/ptime.hpp +++ b/boost/date_time/posix_time/ptime.hpp @@ -9,8 +9,9 @@ * $Date$ */ -#include "boost/date_time/posix_time/posix_time_system.hpp" -#include "boost/date_time/time.hpp" +#include +#include +#include namespace boost { @@ -24,11 +25,11 @@ namespace posix_time { using date_time::not_a_date_time; using date_time::max_date_time; using date_time::min_date_time; - + //! Time type with no timezone or other adjustments /*! \ingroup time_basics */ - class ptime : public date_time::base_time + class BOOST_SYMBOL_VISIBLE ptime : public date_time::base_time { public: typedef posix_time_system time_system_type; @@ -53,7 +54,7 @@ namespace posix_time { ptime() : date_time::base_time(gregorian::date(not_a_date_time), time_duration_type(not_a_date_time)) {} #endif // DATE_TIME_NO_DEFAULT_CONSTRUCTOR - + }; -- cgit v1.2.3