Skip to content

Commit e1e44a0

Browse files
authored
Coverity issue (#547)
1 parent b7b4b50 commit e1e44a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/unitrace/src/levelzero/ze_collector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1958,7 +1958,7 @@ class ZeCollector {
19581958
if (!units.empty()) {
19591959
name += "[" + units + "]";
19601960
}
1961-
names.push_back(name);
1961+
names.push_back(std::move(name));
19621962
}
19631963

19641964
return names;

0 commit comments

Comments
 (0)