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

Added <random> include for std::uniform_int_distribution #1831

Merged
merged 1 commit into from
Jan 14, 2020
Merged

Added <random> include for std::uniform_int_distribution #1831

merged 1 commit into from
Jan 14, 2020

Conversation

matt77hias
Copy link
Contributor

Fixes: C2760 syntax error: unexpected token '>', expected 'expression' internal\benchmark\detail\catch_stats.hpp 69:
std::uniform_int_distribution<decltype(n)> dist(0, n - 1);
for a static library with CATCH_CONFIG_ENABLE_BENCHMARKING in Visual Studio 2019 16.4.2 (latest non-preview).

@horenmar horenmar merged commit bff44f8 into catchorg:master Jan 14, 2020
@horenmar
Copy link
Member

Thanks.

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

Successfully merging this pull request may close these issues.

2 participants