Ticket #1615: 0001-date_time-gcc-4.3-fix.patch

File 0001-date_time-gcc-4.3-fix.patch, 1010 bytes (added by tim blechmann <tim@…>, 15 years ago)
  • boost/date_time/tz_db_base.hpp

    From 88f7023cc36d82133cfa0e705531a9d73feb4686 Mon Sep 17 00:00:00 2001
    From: Tim Blechmann <tim@klingt.org>
    Date: Sat, 2 Feb 2008 17:22:58 +0100
    Subject: [PATCH] date_time: gcc-4.3 fix
    
    ---
     boost/date_time/tz_db_base.hpp |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/boost/date_time/tz_db_base.hpp b/boost/date_time/tz_db_base.hpp
    index b9c0a8a..03f748e 100644
    a b namespace boost {  
    158158      typedef typename time_zone_type::base_type time_zone_base_type;
    159159      typedef typename time_zone_type::time_duration_type time_duration_type;
    160160      typedef time_zone_names_base<char_type> time_zone_names;
    161       typedef dst_adjustment_offsets<time_duration_type> dst_adjustment_offsets;
     161      typedef boost::date_time::dst_adjustment_offsets<time_duration_type> dst_adjustment_offsets;
    162162      typedef std::basic_string<char_type> string_type;
    163163
    164164      //! Constructs an empty database