Unverified Commit 9223ccb0 authored by Adrian Prantl's avatar Adrian Prantl Committed by GitHub
Browse files

Avoid std::string -> (char *) roundtrip in createStringError() (NFC) (#93242)

The current API first creates a temporary std::string, then passes it as
a C string, only to then convert it into a std::string for storage, thus
unnecessarily computing the length of the string and copying it.
parent dc78329d
Pipeline #2607 canceled with stages
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment