Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify code to support C++17 #1055

Merged
merged 1 commit into from Mar 12, 2018
Merged

Modify code to support C++17 #1055

merged 1 commit into from Mar 12, 2018

Conversation

gittyupagain
Copy link
Contributor

With the release of C++17, several already deprecated STL functions have been removed. In order to support compilers that adhere strictly to the standard, this PR removes use of those old functions.

@gittyupagain gittyupagain added this to the v1.1.0 milestone Mar 12, 2018
@@ -146,7 +147,9 @@ TEST_F(ContextEnumeratorTest, ComplexRemovalInterference) {
children.push_back(AutoCreateContext());

// Shuffle the collection to prevent the order here from being equivalent to the order in the context
std::random_shuffle(children.begin(), children.end());
std::random_device rd;
std::mt19937 gen(rd());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for random_device usage

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

Successfully merging this pull request may close these issues.

None yet

3 participants