summaryrefslogtreecommitdiff
path: root/boost/chrono/time_point.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/chrono/time_point.hpp')
-rw-r--r--boost/chrono/time_point.hpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/boost/chrono/time_point.hpp b/boost/chrono/time_point.hpp
index 9aad25e66c..6449fac6e1 100644
--- a/boost/chrono/time_point.hpp
+++ b/boost/chrono/time_point.hpp
@@ -168,16 +168,17 @@ namespace chrono {
duration d_;
public:
- BOOST_CONSTEXPR
+ BOOST_FORCEINLINE BOOST_CONSTEXPR
time_point() : d_(duration::zero())
{}
- BOOST_CONSTEXPR explicit time_point(const duration& d)
+ BOOST_FORCEINLINE BOOST_CONSTEXPR
+ explicit time_point(const duration& d)
: d_(d)
{}
// conversions
template <class Duration2>
- BOOST_CONSTEXPR
+ BOOST_FORCEINLINE BOOST_CONSTEXPR
time_point(const time_point<clock, Duration2>& t
, typename boost::enable_if
<
@@ -217,12 +218,12 @@ namespace chrono {
// special values
- static BOOST_CONSTEXPR time_point
+ static BOOST_CHRONO_LIB_CONSTEXPR time_point
min BOOST_PREVENT_MACRO_SUBSTITUTION ()
{
return time_point((duration::min)());
}
- static BOOST_CONSTEXPR time_point
+ static BOOST_CHRONO_LIB_CONSTEXPR time_point
max BOOST_PREVENT_MACRO_SUBSTITUTION ()
{
return time_point((duration::max)());