Skip to content

Conversation

@mariovisic
Copy link
Contributor

Literals are treated as read-only and so when we pass them to a function
they should be set to const as they cannot be modified. This clears up
all of my compiler warnings, previously I had 7.

Literals are treated as read-only and so when we pass them to a function
they should be set to const as they cannot be modified. This clears up
all of my compiler warnings, previously I had 7.
@mariovisic
Copy link
Contributor Author

@blacktm blacktm merged commit 5ea76fa into ruby2d:main Jul 27, 2021
@mariovisic mariovisic deleted the fix_compiler_warnings branch July 28, 2021 00:04
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