mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
mcgrathr points out in https://chromium-review.googlesource.com/1172090 that std::random_shuffle is deprecated in C++14 and removed in C++17. Rather than having mini_chromium mimic Chromium’s base by providing RandomShuffle (Chromium 5de2157f1e7f), just use the standard library’s std::shuffle with mt19937(random_generator). Change-Id: I8c2b3101bf324350351dba9edda1ba230b1c6710 Reviewed-on: https://chromium-review.googlesource.com/1176122 Reviewed-by: Robert Sesek <rsesek@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org>