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 side effects on function parameter #440

Merged
merged 1 commit into from Nov 23, 2017

Conversation

garbear
Copy link

@garbear garbear commented Nov 23, 2017

For xbmc#13047

The current code modifies its parameter, but this behavior is not documented. This change uses the move operator to invalidate parameters as they're passed to the function.

Compilation tested on OSX, traveling now so don't got other systems to test.

@FernetMenta FernetMenta merged commit a5b8b46 into FernetMenta:windowing Nov 23, 2017
@garbear garbear deleted the windowing branch November 23, 2017 23:03
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.

None yet

2 participants