Skip to content

Commit f377e47

Browse files
committed
pdn: fix bazel and unique
Signed-off-by: Peter Gadfort <[email protected]>
1 parent 23071ac commit f377e47

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/pdn/src/straps.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,8 @@ bool PadDirectConnectionStraps::refineShapes(
14311431
return false;
14321432
}
14331433

1434-
refine.erase(std::unique(refine.begin(), refine.end()), refine.end());
1434+
const auto [first, last] = std::ranges::unique(refine.begin(), refine.end());
1435+
refine.erase(first, last);
14351436

14361437
for (auto* refine_shape : refine) {
14371438
std::unique_ptr<Shape> shape = refine_shape->copy();

src/pdn/test/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ MANUAL_TESTS = [
139139

140140
# TODO: Enable once difference between bazel and ctest is resolved.
141141
MANUAL_FOR_BAZEL_TESTS = [
142-
"pads_black_parrot_flipchip_connect_overpads"
142+
"pads_black_parrot_flipchip_connect_overpads",
143143
]
144144

145145
ALL_TESTS = COMPULSORY_TESTS + MANUAL_TESTS

0 commit comments

Comments
 (0)