]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
tools/osdmaptool.cc: do not use deprecated std::random_shuffle()
authorKefu Chai <kchai@redhat.com>
Wed, 4 Dec 2019 00:06:40 +0000 (16:06 -0800)
committerDavid Zafman <dzafman@redhat.com>
Wed, 4 Dec 2019 00:06:40 +0000 (16:06 -0800)
commit30dfef208d859a67c1f1b13c314735861c536e85
tree9781274483adfd3ec9013efe8289e2da75449fdd
parent0e0c32ce2179f14dbeed8e2f9474cf52f1b0f4c4
tools/osdmaptool.cc: do not use deprecated std::random_shuffle()
the use of `std::random_shuffle()` was introduced by
b946308 .

in this change, it is replaced using `std::shuffle()`.

Fixes: https://tracker.ceph.com/issues/43084
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/tools/osdmaptool.cc