]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/lc: random_sequence() uses default_random_engine 47488/head
authorCasey Bodley <cbodley@redhat.com>
Sat, 6 Aug 2022 15:09:38 +0000 (11:09 -0400)
committerCasey Bodley <cbodley@redhat.com>
Sat, 6 Aug 2022 15:09:40 +0000 (11:09 -0400)
commit60f5664761b7419d82cc4f92ff11d1bcfbd13716
tree7e216b186330841aa9a89c12d1cf8f61a0d18d4e
parent3d72fe4f06eb6ec8cfc36aad8fde63af45d61893
rgw/lc: random_sequence() uses default_random_engine

we used random_device to seed a default_random_engine, but didn't use
the engine in our call to shuffle()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_lc.cc