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

format: do not use udl_{arg,formatter} return types when UDL is not in use #2376

Merged
merged 1 commit into from
Jun 26, 2021

Conversation

zx2c4
Copy link
Contributor

@zx2c4 zx2c4 commented Jun 22, 2021

The udl_{arg,formatter} structs are only defined when FMT_USE_USER_DEFINED_LITERALS is set, so don't try to define things that return that struct when it's not defined.

Fixes https://bugs.gentoo.org/797406

…n use

The udl_{arg,formatter} structs are only defined when
FMT_USE_USER_DEFINED_LITERALS is set, so don't try to define things that
return that struct when it's not defined.
gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request Jun 22, 2021
Closes: https://bugs.gentoo.org/797406
See: fmtlib/fmt#2376
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Craig Andrews <candrews@gentoo.org>
@vitaut vitaut merged commit c9a1063 into fmtlib:master Jun 26, 2021
@vitaut
Copy link
Contributor

vitaut commented Jun 26, 2021

Thank you!

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