Index: gregorian.hpp =================================================================== --- gregorian.hpp (revision 76248) +++ gregorian.hpp (working copy) @@ -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(); }