--- boost/date_time/local_time/posix_time_zone.hpp 2008-05-19 16:19:46.000000000 +0200 +++ boost-trunk/boost/date_time/local_time/posix_time_zone.hpp 2008-05-19 21:01:59.000000000 +0200 @@ -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: 2008-02-27 15:00:24 -0500 (Wed, 27 Feb 2008) $ + * $Date: 2008-02-27 19:51:14 +0100 (Wed, 27 Feb 2008) $ */ #include @@ -235,8 +235,7 @@ string_type l_std_zone_abbrev, l_dst_zone_abbrev; // get 'std' name/abbrev - const typename string_type::const_iterator obj_end( obj.end() ); - while(sit != obj_end && std::isalpha(*sit)){ + while(std::isalpha(*sit)){ ss << *sit++; } l_std_zone_abbrev = ss.str();