Skip to content

Commit 2730b32

Browse files
committed
pad: add headers for clang-tidy
Signed-off-by: Peter Gadfort <[email protected]>
1 parent 3d693bd commit 2730b32

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/pad/src/PadPlacer.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@
1111
#include <map>
1212
#include <optional>
1313
#include <set>
14+
#include <tuple>
1415
#include <utility>
1516
#include <vector>
1617

18+
#include "boost/geometry/index/predicates.hpp"
1719
#include "gui/gui.h"
1820
#include "odb/db.h"
1921
#include "odb/dbTransform.h"
2022
#include "odb/dbTypes.h"
2123
#include "odb/geom.h"
24+
#include "odb/geom_boost.h"
2225
#include "odb/isotropy.h"
2326
#include "utl/Logger.h"
2427

@@ -375,10 +378,9 @@ void PadPlacer::populateObstructions()
375378
if (check_inst->getMaster()->isCover()) {
376379
covers.insert(check_inst);
377380
continue;
378-
} else {
379-
instance_obstructions_.insert(
380-
{check_inst->getBBox()->getBox(), check_inst});
381381
}
382+
instance_obstructions_.insert(
383+
{check_inst->getBBox()->getBox(), check_inst});
382384
}
383385
}
384386
}

src/pad/src/PadPlacer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <utility>
1111
#include <vector>
1212

13+
#include "boost/geometry/index/parameters.hpp"
1314
#include "boost/geometry/index/rtree.hpp"
1415
#include "odb/db.h"
1516
#include "odb/dbTypes.h"

0 commit comments

Comments
 (0)