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

Replace static_cast of forwarding references with std::forward #27

Merged
merged 3 commits into from
Oct 23, 2024

Conversation

greg7mdp
Copy link
Contributor

When stepping through eos-vm code, I noticed some incorrect static_cast and std::move usages, which don't seem to hide bugs because these functions are called with references which are afterwards unused. Still this seems worthwhile fixing imo.

@greg7mdp greg7mdp merged commit a45ee4e into main Oct 23, 2024
10 checks passed
@greg7mdp greg7mdp deleted the move_correctness branch October 23, 2024 13:18
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.

3 participants