diff options
Diffstat (limited to 'boost/icl/ptime.hpp')
-rw-r--r-- | boost/icl/ptime.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/boost/icl/ptime.hpp b/boost/icl/ptime.hpp index 455963f199..42c2235ec2 100644 --- a/boost/icl/ptime.hpp +++ b/boost/icl/ptime.hpp @@ -76,12 +76,12 @@ namespace boost{namespace icl }; // ------------------------------------------------------------------------ - 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 @@ namespace boost{namespace icl 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(); } |