]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/random/independent_bits.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / random / independent_bits.hpp
index cd2dd1f2250ddb9935c7af172b64123d362754a5..72a8ed71aefd2475a88b8107cb8602b08b1659b4 100644 (file)
@@ -52,10 +52,10 @@ public:
     BOOST_STATIC_CONSTANT(bool, has_fixed_range = false);
 
     /** Returns the smallest value that the generator can produce. */
-    static result_type min BOOST_PREVENT_MACRO_SUBSTITUTION ()
+    static BOOST_CONSTEXPR result_type min BOOST_PREVENT_MACRO_SUBSTITUTION ()
     { return 0; }
     /** Returns the largest value that the generator can produce. */
-    static result_type max BOOST_PREVENT_MACRO_SUBSTITUTION ()
+    static BOOST_CONSTEXPR result_type max BOOST_PREVENT_MACRO_SUBSTITUTION ()
     { return max_imp(boost::is_integral<UIntType>()); }
 
     /**
@@ -241,7 +241,7 @@ private:
     /// \cond show_private
     typedef typename boost::random::traits::make_unsigned<base_result_type>::type base_unsigned;
 
-    static UIntType max_imp(const boost::true_type&)
+    static BOOST_CONSTEXPR UIntType max_imp(const boost::true_type&)
     {
        return boost::low_bits_mask_t<w>::sig_bits;
     }