summaryrefslogtreecommitdiff
path: root/boost/icl/gregorian.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/icl/gregorian.hpp')
-rw-r--r--boost/icl/gregorian.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/boost/icl/gregorian.hpp b/boost/icl/gregorian.hpp
index 883299c610..a101617093 100644
--- a/boost/icl/gregorian.hpp
+++ b/boost/icl/gregorian.hpp
@@ -77,12 +77,12 @@ namespace boost{namespace icl
// ------------------------------------------------------------------------
- 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 @@ namespace boost{namespace icl
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();
}