updated boost on windows

This commit is contained in:
Bassem Girgis
2019-08-13 21:48:48 -05:00
parent 7d77d485fd
commit b40a3bee82
5162 changed files with 473027 additions and 116452 deletions

View File

@@ -55,17 +55,17 @@ inline void decompose_date(DateT const& d, boost::log::aux::decomposed_time_wrap
{
typedef typename DateT::ymd_type ymd_type;
ymd_type ymd = d.year_month_day();
v.year = ymd.year;
v.month = ymd.month;
v.day = ymd.day;
v.year = static_cast< uint32_t >(ymd.year);
v.month = static_cast< uint32_t >(ymd.month);
v.day = static_cast< uint32_t >(ymd.day);
}
template< typename TimeDurationT, typename ValueT >
inline void decompose_time_of_day(TimeDurationT const& tod, boost::log::aux::decomposed_time_wrapper< ValueT >& v)
{
v.hours = tod.hours();
v.minutes = tod.minutes();
v.seconds = tod.seconds();
v.hours = static_cast< uint32_t >(tod.hours());
v.minutes = static_cast< uint32_t >(tod.minutes());
v.seconds = static_cast< uint32_t >(tod.seconds());
typedef typename TimeDurationT::traits_type traits_type;
enum
@@ -96,10 +96,10 @@ inline void decompose_date_duration(DateDurationT const& dur, boost::log::aux::d
if (dur.is_negative())
{
v.negative = true;
v.day = (-dur).days();
v.day = static_cast< uint32_t >((-dur).days());
}
else
v.day = dur.days();
v.day = static_cast< uint32_t >(dur.days());
}
template< typename TimeT, typename ValueT >