Skip to content

Remove superfluous .c_str() calls - #2029

Open
slipher wants to merge 1 commit into
DaemonEngine:masterfrom
slipher:cstr
Open

slipher wants to merge 1 commit into
DaemonEngine:masterfrom
slipher:cstr

Conversation

@slipher

@slipher slipher commented Nov 3, 2026

Copy link
Copy Markdown
Member

Don't call .c_str() when passing a function that is actually std::string or StringRef (not char*), or for a format insert for tinyformat-based formatting functions.

Don't call .c_str() when passing a function that is actually std::string
or StringRef (not char*), or for a format insert for tinyformat-based
formatting functions.
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.

1 participant