X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Flibs%2Fpool%2Ftest%2Ftest_simple_seg_storage.cpp;h=1fbb06c2a050b068ce962e7a4fa5468b438c534e;hb=b32b81446b3b05102be0267e79203f59329c1d97;hp=460421c6fb76329d6d49bc582d16cde9ae47d961;hpb=215dd7151453fae88e6f968c975b6ce309d42dcf;p=ceph.git diff --git a/ceph/src/boost/libs/pool/test/test_simple_seg_storage.cpp b/ceph/src/boost/libs/pool/test/test_simple_seg_storage.cpp index 460421c6f..1fbb06c2a 100644 --- a/ceph/src/boost/libs/pool/test/test_simple_seg_storage.cpp +++ b/ceph/src/boost/libs/pool/test/test_simple_seg_storage.cpp @@ -7,6 +7,7 @@ #include "test_simple_seg_storage.hpp" #include "track_allocator.hpp" +#include "random_shuffle.hpp" #include #include @@ -226,7 +227,7 @@ int main() std::vector vpv; for(std::size_t i=0; i < 6; ++i) { vpv.push_back(tstore.malloc()); } BOOST_ASSERT(tstore.empty()); - std::random_shuffle(vpv.begin(), vpv.end()); + pool_test_random_shuffle(vpv.begin(), vpv.end()); for(std::size_t i=0; i < 6; ++i) {