SERVER-78052 introduced a usage of std::ranges::sample that is supported starting from C++20. Since there are some build variants still compiling following the C++17 standard, replace it with std::sample.
SERVER-78052 introduced a usage of std::ranges::sample that is supported starting from C++20. Since there are some build variants still compiling following the C++17 standard, replace it with std::sample.