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

Make dynamic_format_arg_store reusable and add reserve() #1677

Conversation

vsolontsov-ll
Copy link
Contributor

Implementation of #1674.

I agree that my contributions are licensed under the {fmt} license, and agree to future changes to the licensing.

@vsolontsov-ll vsolontsov-ll changed the title Implemented #1674: make dynamic_format_arg_store reusable and add Make dynamic_format_arg_store reusable and add reserve() May 11, 2020
*/
void reserve(size_t new_cap, size_t new_cap_named) {
FMT_ASSERT(new_cap >= new_cap_named,
"Set of argument includes set of named arguments");
Copy link
Contributor

Choose a reason for hiding this comment

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

argument -> arguments

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done. thanks for the review.

@vitaut
Copy link
Contributor

vitaut commented May 12, 2020

One nit, otherwise LGTM. Thanks for the PR!

@vitaut vitaut merged commit 922ea92 into fmtlib:master May 12, 2020
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