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

Conversation

@matt77hias
Copy link
Contributor

matt77hias commented Jan 14, 2020

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
2 checks passed
2 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@horenmar

This comment has been minimized.

Copy link
Member

horenmar commented Jan 14, 2020

Thanks.

@horenmar horenmar added the BugFix label Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.