libbpf_android/Loader.cpp - fixes performance-inefficient-string-concatenation warning
Fixes:
system/bpf/libbpf_android/Loader.cpp:562:73: warning: string concatenation results in allocation of unnecessary temporary strings; consider using 'operator+=' or 'string::append()' instead [performance-inefficient-string-concatenation]
string progPinLoc = string(BPF_FS_PATH) + "prog_" + fname + "_" + name;
^
Test: builds
Bug: 153035880
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: If56405273b4904e632a4b3a465b79eecae4c1446
Merged-In: If56405273b4904e632a4b3a465b79eecae4c1446
1 file changed