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

Rvalue qualified functions reuse lvalue versions of corresponding functions. #21

Merged
merged 1 commit into from
Aug 7, 2018

Conversation

ngrodzitski
Copy link
Contributor

Make some rvalue qualified functions to reuse lvalue versions of corresponding functions.

This fixes warning C4172: returning address of local variable or temporary. (Microsoft (R) C/C++ Optimizing Compiler Version 19.12.25835 for x64), which results in an error on debug builds.

@martinmoene martinmoene merged commit 69a6d59 into martinmoene:master Aug 7, 2018
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