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

Fix issue #1809. #1815

Merged
merged 1 commit into from
Dec 15, 2019
Merged

Fix issue #1809. #1815

merged 1 commit into from
Dec 15, 2019

Conversation

Tridacnid
Copy link
Contributor

Fix SingleValueGenerator CTor clash. Correct some misuses of move when forward was needed. Correct some missing universal references in method parameter lists. Add IntrospectiveTest to verify fix for issue #1809.

Description

SingleValueGenerator had 2 clashing CTors thanks to the semantic differences in universal references and rvalue references when used in templates as parameters.

GitHub Issues

Closes #1809

@Tridacnid
Copy link
Contributor Author

Did most of my work in Godbolt, hopefully all the CI passes.
https://godbolt.org/z/AL89HN

@Tridacnid
Copy link
Contributor Author

Looks like Travis is having some issues downloading packages.

@codecov
Copy link

codecov bot commented Dec 15, 2019

Codecov Report

Merging #1815 into master will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1815      +/-   ##
==========================================
+ Coverage   86.29%   86.31%   +0.03%     
==========================================
  Files         131      131              
  Lines        3894     3887       -7     
==========================================
- Hits         3360     3355       -5     
+ Misses        534      532       -2

@horenmar
Copy link
Member

Thanks, I moved the tests around a little bit.

@horenmar horenmar merged commit 6c9a255 into catchorg:master Dec 15, 2019
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.

Can't compile SingleValueGenerator inside GENERATE_COPY
2 participants