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

constexpr uint128_wrapper #2215

Merged
merged 3 commits into from
Apr 7, 2021

Conversation

jstaahl
Copy link
Contributor

@jstaahl jstaahl commented Apr 6, 2021

I noticed a static initializer was introduced by the fmt library in our binary. It was attributed to:
include/fmt/format-inl.h#L387.

This can be avoided by making the uint128_wrapper constexpr.

Copy link
Contributor

@vitaut vitaut left a comment

Choose a reason for hiding this comment

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

Thanks for the PR.

include/fmt/format.h Outdated Show resolved Hide resolved
@jstaahl jstaahl requested a review from vitaut April 7, 2021 00:50
include/fmt/format.h Outdated Show resolved Hide resolved
@vitaut vitaut merged commit 266107f into fmtlib:master Apr 7, 2021
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.

4 participants