diff options
author | Anas Nashif <anas.nashif@intel.com> | 2013-08-26 08:15:55 -0400 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-08-26 08:15:55 -0400 |
commit | bb4dd8289b351fae6b55e303f189127a394a1edd (patch) | |
tree | 77c9c35a31b1459dd7988c2448e797d142530c41 /libs/chrono/test/rep.h | |
parent | 1a78a62555be32868418fe52f8e330c9d0f95d5a (diff) | |
download | boost-bb4dd8289b351fae6b55e303f189127a394a1edd.tar.gz boost-bb4dd8289b351fae6b55e303f189127a394a1edd.tar.bz2 boost-bb4dd8289b351fae6b55e303f189127a394a1edd.zip |
Imported Upstream version 1.51.0upstream/1.51.0
Diffstat (limited to 'libs/chrono/test/rep.h')
-rw-r--r-- | libs/chrono/test/rep.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/chrono/test/rep.h b/libs/chrono/test/rep.h index 74be054dab..bbf4346d90 100644 --- a/libs/chrono/test/rep.h +++ b/libs/chrono/test/rep.h @@ -34,7 +34,7 @@ namespace std { template <> struct numeric_limits<Rep> { - static BOOST_CHRONO_CONSTEXPR Rep max BOOST_PREVENT_MACRO_SUBSTITUTION () + static BOOST_CONSTEXPR Rep max BOOST_PREVENT_MACRO_SUBSTITUTION () { return Rep((std::numeric_limits<int>::max)()); } @@ -47,13 +47,13 @@ namespace chrono { template <> struct duration_values<Rep> { - static BOOST_CHRONO_CONSTEXPR Rep zero() {return Rep(0);} - static BOOST_CHRONO_CONSTEXPR Rep max BOOST_PREVENT_MACRO_SUBSTITUTION () + static BOOST_CONSTEXPR Rep zero() {return Rep(0);} + static BOOST_CONSTEXPR Rep max BOOST_PREVENT_MACRO_SUBSTITUTION () { return Rep((std::numeric_limits<int>::max)()); } - static BOOST_CHRONO_CONSTEXPR Rep min BOOST_PREVENT_MACRO_SUBSTITUTION () + static BOOST_CONSTEXPR Rep min BOOST_PREVENT_MACRO_SUBSTITUTION () { return Rep(detail::numeric_limits<Rep>::lowest()); } |