Skip to content

Mixed commits#320

Merged
texus merged 2 commits intotexus:1.xfrom
jjuhl:mixed-commits
Feb 28, 2026
Merged

Mixed commits#320
texus merged 2 commits intotexus:1.xfrom
jjuhl:mixed-commits

Conversation

@jjuhl
Copy link
Contributor

@jjuhl jjuhl commented Feb 19, 2026

Just a few small changes.

@texus
Copy link
Owner

texus commented Feb 22, 2026

I don't think the widening casts are needed. They just make the code harder to read.
If we would have to start worrying about containers with a billion elements then we would also need to check that every addition doesn't cause an overflow. At some point it just becomes too theoretical to bother with it.

Make sure we always std::forward arguments and make the code a bit
easier to read.

I believe this change should be functionally equivalent.
@jjuhl
Copy link
Contributor Author

jjuhl commented Feb 25, 2026

Fair comment. I've dropped the "widening casts" commit.

The URL https://tgui.eu is strictly speaking not correct, it should be
https://tgui.eu/
@texus texus merged commit f539c29 into texus:1.x Feb 28, 2026
15 checks passed
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