Skip to content
Commit bb0a8563 authored by Igor Kushnir's avatar Igor Kushnir
Browse files

Pass char16_t* instead of char* to [Qualified]Identifier()

Since https://commits.kde.org/kdevelop/1d9717164cc1eaf6919090ea21053864fce44b2f
these constructors take a QStringView. Passing an ordinary const char[]
string literal created a temporary QString, which entailed memory
allocation and deallocation. Passing a UTF-16 const char16_t[] string
literal creates a QStringView that simply references the string
literal's static storage, which is much more efficient.
parent 36506f4a
Pipeline #248338 passed with stage
in 2 minutes and 8 seconds
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