diff --git a/include/boost/date_time/gregorian/greg_date.hpp b/include/boost/date_time/gregorian/greg_date.hpp index 448ea90fa..c38ea873a 100644 --- a/include/boost/date_time/gregorian/greg_date.hpp +++ b/include/boost/date_time/gregorian/greg_date.hpp @@ -73,7 +73,7 @@ namespace gregorian { date_time::date(rhs) {} //! Constructor for infinities, not a date, max and min date - explicit date(special_values sv): + BOOST_FORCEINLINE explicit date(special_values sv): date_time::date(date_rep_type::from_special(sv)) { if (sv == min_date_time)