summaryrefslogtreecommitdiff
path: root/boost/date_time/local_time/posix_time_zone.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/date_time/local_time/posix_time_zone.hpp')
-rw-r--r--boost/date_time/local_time/posix_time_zone.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/boost/date_time/local_time/posix_time_zone.hpp b/boost/date_time/local_time/posix_time_zone.hpp
index f640675bbd..d0ef31d5b8 100644
--- a/boost/date_time/local_time/posix_time_zone.hpp
+++ b/boost/date_time/local_time/posix_time_zone.hpp
@@ -5,7 +5,7 @@
* Subject to the Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
* Author: Jeff Garland, Bart Garst
- * $Date: 2010-06-10 10:24:38 -0700 (Thu, 10 Jun 2010) $
+ * $Date$
*/
#include <string>
@@ -115,7 +115,7 @@ namespace local_time{
calc_rules(dst_begin, dst_end);
}
}
- virtual ~posix_time_zone_base() {};
+ virtual ~posix_time_zone_base() {}
//!String for the zone when not in daylight savings (eg: EST)
virtual string_type std_zone_abbrev()const
{
@@ -430,9 +430,9 @@ namespace local_time{
dst_calc_rules_ = shared_ptr<dst_calc_rule>(
new partial_date_dst_rule(
partial_date_dst_rule::start_rule(
- sd, static_cast<date_time::months_of_year>(sm)),
+ static_cast<unsigned short>(sd), static_cast<date_time::months_of_year>(sm)),
partial_date_dst_rule::end_rule(
- ed, static_cast<date_time::months_of_year>(em))
+ static_cast<unsigned short>(ed), static_cast<date_time::months_of_year>(em))
)
);
}