]> git.proxmox.com Git - ceph.git/blame - 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
CommitLineData
92f5a8d4 1
f67539c2 2// Copyright 2017-2020 Peter Dimov.
92f5a8d4
TL
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>
92f5a8d4 10
f67539c2
TL
11#if defined(_MSC_VER)
12__declspec(dllexport)
13#endif
14unsigned get_random_number()
92f5a8d4
TL
15{
16 boost::random::random_device dev;
f67539c2 17 return dev();
92f5a8d4 18}