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

Declare the size of RESET_COLOR. #1068

Merged
merged 1 commit into from
Mar 6, 2019
Merged

Conversation

mwinterb
Copy link
Contributor

@mwinterb mwinterb commented Mar 6, 2019

This is so that the format with a text_tyle will compile even if
header-only mode isn't enabled. Addresses #1063.

This is so that the format with a text_tyle will compile even if
header-only mode isn't enabled. Addresses fmtlib#1063.
@mwinterb
Copy link
Contributor Author

mwinterb commented Mar 6, 2019

The existing tests in format-impl-test were enough to detect if RESET_COLOR was ever over-allocated, so I didn't add an explicit test covering that.

@DanielaE
Copy link
Contributor

DanielaE commented Mar 6, 2019

Great! This passes the test-suite on VS2019.RC as well:
fmt head deec2d8

@vitaut vitaut merged commit d8434ba into fmtlib:master Mar 6, 2019
@vitaut
Copy link
Contributor

vitaut commented Mar 6, 2019

Merged, thanks!

@mwinterb mwinterb deleted the resetcolor branch September 24, 2019 17:19
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.

3 participants