Skip to content

Commit 5ff84e9

Browse files
committed
odb: use move instead of copy
Signed-off-by: Peter Gadfort <[email protected]>
1 parent f745f67 commit 5ff84e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/odb/src/db/dbBlock.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3473,7 +3473,7 @@ int _dbBlock::globalConnect(const std::vector<dbGlobalConnect*>& connects,
34733473
}),
34743474
insts.end());
34753475

3476-
inst_map[inst_pattern] = insts;
3476+
inst_map[inst_pattern] = std::move(insts);
34773477

34783478
for (dbInst* inst : remove_insts) {
34793479
if (gc->needsModification(inst)) {

0 commit comments

Comments
 (0)