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

Use std::string instead of std::ostringstream #36300

Merged
merged 3 commits into from
Dec 22, 2019

Conversation

BevapDin
Copy link
Contributor

SUMMARY: None

Slightly changed some statements as to combine multiple adjacent writes of string literals into a single string literal.
Also used colorize to get a std::string, to which other string literals can be added.

@BevapDin BevapDin force-pushed the xpe branch 3 times, most recently from 1ceb058 to ac5d0e8 Compare December 20, 2019 23:22
Slightly changed some statements as to combine multiple adjacent writes of string literals into a single string literal.
Also used `colorize` to get a `std::string`, to which other string literals can be added.
Mostly just make new variables within the blocks. This avoids the need to clear the variable each time.

And sometimes just use the string directly.
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