]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/boost_install/test/random/lib.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / tools / boost_install / test / random / lib.cpp
1
2 // Copyright 2017-2020 Peter Dimov.
3 //
4 // Distributed under the Boost Software License, Version 1.0.
5 //
6 // See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt
8
9 #include <boost/random/random_device.hpp>
10
11 #if defined(_MSC_VER)
12 __declspec(dllexport)
13 #endif
14 unsigned get_random_number()
15 {
16 boost::random::random_device dev;
17 return dev();
18 }