Skip to content

Commit b143da1

Browse files
committed
pdn: fix last copy
Signed-off-by: Peter Gadfort <[email protected]>
1 parent 953f4d7 commit b143da1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pdn/src/straps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1430,7 +1430,7 @@ bool PadDirectConnectionStraps::refineShapes(
14301430
}
14311431

14321432
for (auto* refine_shape : refine) {
1433-
std::unique_ptr<Shape> shape(refine_shape->copy());
1433+
std::unique_ptr<Shape> shape = refine_shape->copy();
14341434
removeShape(refine_shape);
14351435

14361436
// remove shape from all_shapes and all_obstructions

0 commit comments

Comments
 (0)