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

[Refactor] Make casts of enum class to int explicit in fmt::format(). (backport #25806) #26378

Merged
merged 1 commit into from
Jul 3, 2023

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jul 3, 2023

This is an automatic backport of pull request #25806 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

…#25806)

The old fmt-7.0.3 being used in Starrocks converted enum class to int
implicitly.
But it is not allowed anymore in the recent fmt library and will cause a
compile error.
So this explicit cast is a prerequisite for fmt library upgrade which
I'm planning to request in a separate PR.

Signed-off-by: jkim650 <[email protected]>
(cherry picked from commit b092a91)
@wanpengfei-git wanpengfei-git merged commit 6c939c7 into branch-3.1 Jul 3, 2023
16 of 17 checks passed
@wanpengfei-git wanpengfei-git deleted the mergify/bp/branch-3.1/pr-25806 branch July 3, 2023 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants