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

passing things by value and then not changing it #23

Open
ReiquelApplegate opened this issue Apr 14, 2024 · 2 comments
Open

passing things by value and then not changing it #23

ReiquelApplegate opened this issue Apr 14, 2024 · 2 comments

Comments

@ReiquelApplegate
Copy link
Contributor

render_text_lines for example takes a vector by value and then does not change it. It then iterates over them by value.

@Gleeok
Copy link
Contributor

Gleeok commented Apr 14, 2024

Unacceptable!

@ReiquelApplegate
Copy link
Contributor Author

zmap::CapCommandHistory() iterates over the undo_stack commands by value like this too

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

No branches or pull requests

2 participants