Skip to content

Conversation

@MAKMED1337
Copy link
Contributor

Instead of crashing on an invalid hex, return an error.

Instead of crashing on an invalid hex, return an error.
@MAKMED1337
Copy link
Contributor Author

There are also other usages of stoll in this function. Maybe it is better to add a stoll lambda function wrapper ?

Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@vaxerski
Copy link
Member

vaxerski commented Sep 1, 2024

There are also other usages of stoll in this function. Maybe it is better to add a stoll lambda function wrapper ?

could be done, but in a separate pr

@vaxerski vaxerski merged commit c12ab78 into hyprwm:main Sep 1, 2024
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