mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 23:41:02 +08:00
5c6e19f000
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>