MT#62181 SBCCallProfile: pass string by reference

Avoid copying twice

Change-Id: I5a65e95682b06d69f2b3437a9afc1aa64dbee9d9
Warned-by: Coverity
master
Richard Fuchs 2 months ago
parent 5669abc5c8
commit bf6d218cf5

@ -52,7 +52,7 @@ struct CCInterface {
string cc_module;
map<string, string> cc_values;
CCInterface(string cc_name)
CCInterface(const string& cc_name)
: cc_name(cc_name) { }
CCInterface() { }
};

Loading…
Cancel
Save