Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70770 - trunk/boost/date_time/posix_time
From: marshall_at_[hidden]
Date: 2011-03-30 18:27:07


Author: marshall
Date: 2011-03-30 18:27:06 EDT (Wed, 30 Mar 2011)
New Revision: 70770
URL: http://svn.boost.org/trac/boost/changeset/70770

Log:
Applied patch - Refs #5345
Text files modified:
   trunk/boost/date_time/posix_time/time_serialize.hpp | 24 ++++++++++++------------
   1 files changed, 12 insertions(+), 12 deletions(-)

Modified: trunk/boost/date_time/posix_time/time_serialize.hpp
==============================================================================
--- trunk/boost/date_time/posix_time/time_serialize.hpp (original)
+++ trunk/boost/date_time/posix_time/time_serialize.hpp 2011-03-30 18:27:06 EDT (Wed, 30 Mar 2011)
@@ -46,10 +46,10 @@
     ar & make_nvp("sv_time_duration", s);
   }
   else {
- typename posix_time::time_duration::hour_type h = td.hours();
- typename posix_time::time_duration::min_type m = td.minutes();
- typename posix_time::time_duration::sec_type s = td.seconds();
- typename posix_time::time_duration::fractional_seconds_type fs = td.fractional_seconds();
+ posix_time::time_duration::hour_type h = td.hours();
+ posix_time::time_duration::min_type m = td.minutes();
+ posix_time::time_duration::sec_type s = td.seconds();
+ posix_time::time_duration::fractional_seconds_type fs = td.fractional_seconds();
     ar & make_nvp("time_duration_hours", h);
     ar & make_nvp("time_duration_minutes", m);
     ar & make_nvp("time_duration_seconds", s);
@@ -76,10 +76,10 @@
     td = posix_time::time_duration(sv);
   }
   else {
- typename posix_time::time_duration::hour_type h(0);
- typename posix_time::time_duration::min_type m(0);
- typename posix_time::time_duration::sec_type s(0);
- typename posix_time::time_duration::fractional_seconds_type fs(0);
+ posix_time::time_duration::hour_type h(0);
+ posix_time::time_duration::min_type m(0);
+ posix_time::time_duration::sec_type s(0);
+ posix_time::time_duration::fractional_seconds_type fs(0);
     ar & make_nvp("time_duration_hours", h);
     ar & make_nvp("time_duration_minutes", m);
     ar & make_nvp("time_duration_seconds", s);
@@ -104,10 +104,10 @@
 {
   // from_iso_string does not include fractional seconds
   // therefore date and time_duration are used
- typename posix_time::ptime::date_type d = pt.date();
+ posix_time::ptime::date_type d = pt.date();
   ar & make_nvp("ptime_date", d);
   if(!pt.is_special()) {
- typename posix_time::ptime::time_duration_type td = pt.time_of_day();
+ posix_time::ptime::time_duration_type td = pt.time_of_day();
     ar & make_nvp("ptime_time_duration", td);
   }
 }
@@ -123,8 +123,8 @@
 {
   // from_iso_string does not include fractional seconds
   // therefore date and time_duration are used
- typename posix_time::ptime::date_type d(posix_time::not_a_date_time);
- typename posix_time::ptime::time_duration_type td;
+ posix_time::ptime::date_type d(posix_time::not_a_date_time);
+ posix_time::ptime::time_duration_type td;
   ar & make_nvp("ptime_date", d);
   if(!d.is_special()) {
     ar & make_nvp("ptime_time_duration", td);


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk