diff options
Diffstat (limited to 'boost/units/operators.hpp')
-rw-r--r-- | boost/units/operators.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/units/operators.hpp b/boost/units/operators.hpp index 19b8aace9b..6941aaff09 100644 --- a/boost/units/operators.hpp +++ b/boost/units/operators.hpp @@ -135,7 +135,7 @@ struct power_typeof_helper /// specifies the result type typedef detail::unspecified type; /// Carries out the runtime calculation. - static type value(const BaseType& base); + static BOOST_CONSTEXPR type value(const BaseType& base); }; /// A helper used by @c root to take a root @@ -152,7 +152,7 @@ struct root_typeof_helper /// specifies the result type typedef detail::unspecified type; /// Carries out the runtime calculation. - static type value(const Radicand& base); + static BOOST_CONSTEXPR type value(const Radicand& base); }; #endif |