]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/random/test/test_random_device.cpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / random / test / test_random_device.cpp
index 2f9e61c76ef5184982551c06b9476e6f9a6fba1a..1ae01dd06c43c91d21fe6df15a881d7674e11bde 100644 (file)
 #include <boost/test/test_tools.hpp>
 #include <boost/test/included/test_exec_monitor.hpp>
 
+#ifndef BOOST_NO_CXX11_CONSTEXPR
+constexpr boost::random_device::result_type const_min = (boost::random_device::min)();
+constexpr boost::random_device::result_type const_max = (boost::random_device::max)();
+#endif
+
 int test_main(int, char**) {
     boost::random_device rng;
     double entropy = rng.entropy();