diff options
author | luigi1111 <luigi1111w@gmail.com> | 2019-08-19 17:31:39 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2019-08-19 17:31:39 -0500 |
commit | f205d28e96ef86303475a57b3fea15d2ede8a752 (patch) | |
tree | 441fdb1de85bd9eaf60b65fbfbfe3019957bb224 /src/cryptonote_core | |
parent | Merge pull request #5725 (diff) | |
parent | Replace std::random_shuffle with std::shuffle (diff) | |
download | monero-f205d28e96ef86303475a57b3fea15d2ede8a752.tar.xz |
Merge pull request #5727
7b9a420 Replace std::random_shuffle with std::shuffle (tomsmeding)
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r-- | src/cryptonote_core/cryptonote_tx_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_tx_utils.cpp b/src/cryptonote_core/cryptonote_tx_utils.cpp index 854f3d1c5..4cf71e558 100644 --- a/src/cryptonote_core/cryptonote_tx_utils.cpp +++ b/src/cryptonote_core/cryptonote_tx_utils.cpp @@ -354,7 +354,7 @@ namespace cryptonote if (shuffle_outs) { - std::shuffle(destinations.begin(), destinations.end(), std::default_random_engine(crypto::rand<unsigned int>())); + std::shuffle(destinations.begin(), destinations.end(), crypto::random_device{}); } // sort ins by their key image |