Skip to content

Replace deprecated random_shuffle with shuffle#57

Closed
jamesjer wants to merge 1 commit intogap-packages:masterfrom
jamesjer:master
Closed

Replace deprecated random_shuffle with shuffle#57
jamesjer wants to merge 1 commit intogap-packages:masterfrom
jamesjer:master

Conversation

@jamesjer
Copy link
Copy Markdown
Contributor

std::random_shuffle was deprecated in C++14 and has been removed in C++17. std::shuffle was introduced in C++11.

@ChrisJefferson
Copy link
Copy Markdown
Member

Thanks for the PR. I did something slightly different, as I don't want to use static (as I use parts of this library in threaded code elsewhere).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants