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

cleanup: Use tox core "length" functions instead of constants. #174

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

iphydf
Copy link
Member

@iphydf iphydf commented Nov 30, 2024

These constants can change from version to version, so we should use a runtime version of them rather than encoding the number into our binary at compile time.


This change is Reviewable

@iphydf iphydf added this to the v1.18.0 milestone Nov 30, 2024
@github-actions github-actions bot added the cleanup Internal code cleanup, possibly affecting semantics, e.g. deleting a deprecated feature. label Nov 30, 2024
@iphydf iphydf force-pushed the const-funcs branch 2 times, most recently from 608a299 to 2584723 Compare December 2, 2024 21:16
src/core/corefile.cpp Outdated Show resolved Hide resolved
These constants can change from version to version, so we should use a
runtime version of them rather than encoding the number into our binary
at compile time.
Copy link
Member

@Green-Sky Green-Sky left a comment

Choose a reason for hiding this comment

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

yes

@pull-request-attention pull-request-attention bot assigned iphydf and unassigned Green-Sky Dec 3, 2024
@iphydf iphydf merged commit e8bb2b6 into TokTok:master Dec 3, 2024
27 checks passed
@iphydf iphydf deleted the const-funcs branch December 3, 2024 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Internal code cleanup, possibly affecting semantics, e.g. deleting a deprecated feature.
Development

Successfully merging this pull request may close these issues.

2 participants