updated boost on windows
This commit is contained in:
@@ -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 >
|
||||
|
||||
Reference in New Issue
Block a user