Passing strings by non-const reference is only required if the caller expects the string to be modified by the function and wants to retain the modified string.
QString has an efficient copy-on-write mechanism where the string can be passed (seemingly) by value.
Fixed|Deh Reader: Argument type for parseInclude
Passing strings by non-const reference is only required if the
caller expects the string to be modified by the function and
wants to retain the modified string.
QString has an efficient copy-on-write mechanism where the
string can be passed (seemingly) by value.