Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78322 - branches/release/boost/icl
From: afojgo_at_[hidden]
Date: 2012-05-04 08:05:40


Author: jofaber
Date: 2012-05-04 08:05:39 EDT (Fri, 04 May 2012)
New Revision: 78322
URL: http://svn.boost.org/trac/boost/changeset/78322

Log:
Fixed multiple definition error reported by Rajalakshmi Iyer.
Properties modified:
   branches/release/boost/icl/ (props changed)
Text files modified:
   branches/release/boost/icl/gregorian.hpp | 8 ++++----
   branches/release/boost/icl/ptime.hpp | 8 ++++----
   2 files changed, 8 insertions(+), 8 deletions(-)

Modified: branches/release/boost/icl/gregorian.hpp
==============================================================================
--- branches/release/boost/icl/gregorian.hpp (original)
+++ branches/release/boost/icl/gregorian.hpp 2012-05-04 08:05:39 EDT (Fri, 04 May 2012)
@@ -77,12 +77,12 @@
 
 
     // ------------------------------------------------------------------------
- boost::gregorian::date operator ++(boost::gregorian::date& x)
+ inline boost::gregorian::date operator ++(boost::gregorian::date& x)
     {
         return x += boost::gregorian::date::duration_type::unit();
     }
 
- boost::gregorian::date operator --(boost::gregorian::date& x)
+ inline boost::gregorian::date operator --(boost::gregorian::date& x)
     {
         return x -= boost::gregorian::date::duration_type::unit();
     }
@@ -107,12 +107,12 @@
         typedef boost::gregorian::date_duration type;
     };
 
- boost::gregorian::date_duration operator ++(boost::gregorian::date_duration& x)
+ inline boost::gregorian::date_duration operator ++(boost::gregorian::date_duration& x)
     {
         return x += boost::gregorian::date::duration_type::unit();
     }
 
- boost::gregorian::date_duration operator --(boost::gregorian::date_duration& x)
+ inline boost::gregorian::date_duration operator --(boost::gregorian::date_duration& x)
     {
         return x -= boost::gregorian::date::duration_type::unit();
     }

Modified: branches/release/boost/icl/ptime.hpp
==============================================================================
--- branches/release/boost/icl/ptime.hpp (original)
+++ branches/release/boost/icl/ptime.hpp 2012-05-04 08:05:39 EDT (Fri, 04 May 2012)
@@ -76,12 +76,12 @@
     };
 
     // ------------------------------------------------------------------------
- boost::posix_time::ptime operator ++(boost::posix_time::ptime& x)
+ inline boost::posix_time::ptime operator ++(boost::posix_time::ptime& x)
     {
         return x += boost::posix_time::ptime::time_duration_type::unit();
     }
 
- boost::posix_time::ptime operator --(boost::posix_time::ptime& x)
+ inline boost::posix_time::ptime operator --(boost::posix_time::ptime& x)
     {
         return x -= boost::posix_time::ptime::time_duration_type::unit();
     }
@@ -106,12 +106,12 @@
         typedef boost::posix_time::time_duration type;
     };
 
- boost::posix_time::time_duration operator ++(boost::posix_time::time_duration& x)
+ inline boost::posix_time::time_duration operator ++(boost::posix_time::time_duration& x)
     {
         return x += boost::posix_time::ptime::time_duration_type::unit();
     }
 
- boost::posix_time::time_duration operator --(boost::posix_time::time_duration& x)
+ inline boost::posix_time::time_duration operator --(boost::posix_time::time_duration& x)
     {
         return x -= boost::posix_time::ptime::time_duration_type::unit();
     }


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