Skip to content

Commit 6065db3

Browse files
committed
pad: use ::enabled over ->
Signed-off-by: Peter Gadfort <[email protected]>
1 parent a91f0be commit 6065db3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pad/src/ICeWall.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@ void ICeWall::placePadsBumpAligned(
947947
int offset = row_start;
948948

949949
const bool gui_debug
950-
= logger_->debugCheck(utl::PAD, "Place", 1) && gui::Gui::get()->enabled();
950+
= logger_->debugCheck(utl::PAD, "Place", 1) && gui::Gui::enabled();
951951

952952
int max_travel = row_width - pads_width;
953953
// iterate over pads in order
@@ -1040,7 +1040,7 @@ void ICeWall::placePadsUniform(const std::vector<odb::dbInst*>& insts,
10401040
int row_start) const
10411041
{
10421042
const bool gui_debug
1043-
= logger_->debugCheck(utl::PAD, "Place", 1) && gui::Gui::get()->enabled();
1043+
= logger_->debugCheck(utl::PAD, "Place", 1) && gui::Gui::enabled();
10441044

10451045
const float initial_target_spacing
10461046
= static_cast<float>(row_width - pads_width) / (insts.size() + 1);

0 commit comments

Comments
 (0)