]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: make random shuffle comply with C++17 23533/head
authorWillem Jan Withagen <wjw@digiware.nl>
Fri, 10 Aug 2018 11:58:54 +0000 (13:58 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Mon, 13 Aug 2018 09:57:33 +0000 (11:57 +0200)
commit57f7a9f0058f123b6879ab1f4fd4096672e31a9c
treece22a2156963fd96a4c43ff0c8574d11b64ebca3
parent418db4617b0e56868364692e0a1d758b7c8e4d43
osd: make random shuffle comply with C++17

random_shuffle is depriacted in C++14 and removed in C++17 on FreeBSD
(As per the standard)

So this code does not compile on FreeBSD with Clang 6

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/osd/OSDMap.cc