Skip to content

Commit d6b5633

Browse files
authored
Addressed Coverity issue (#453)
1 parent adc4753 commit d6b5633

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
@@ -1386,7 +1386,7 @@ class ZeCollector {
13861386
if (kname.size() > max_name_size) {
13871387
max_name_size = kname.size();
13881388
}
1389-
knames.push_back(kname);
1389+
knames.push_back(std::move(kname));
13901390
}
13911391

13921392
if (total_device_time != 0) {

0 commit comments

Comments
 (0)