Skip to content

Commit 4d90f10

Browse files
committed
pdn: fix clang-tidy switch
Signed-off-by: Peter Gadfort <[email protected]>
1 parent 403f23b commit 4d90f10

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
@@ -1576,7 +1576,7 @@ bool PadDirectConnectionStraps::isTargetShape(const Shape* shape) const
15761576
return shape->getType() == target_shapes_type_.value();
15771577
}
15781578

1579-
switch (shape->getType()) {
1579+
switch (shape->getType().getValue()) {
15801580
case odb::dbWireShapeType::STRIPE:
15811581
case odb::dbWireShapeType::RING:
15821582
return true;

0 commit comments

Comments
 (0)