Skip to content

Commit 8653a1b

Browse files
committed
Fix a utl::Logger leaking into the cut namespace.
Remove `using utl::Logger` in blif.h Signed-off-by: Henner Zeller <[email protected]>
1 parent 250014d commit 8653a1b

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

src/cut/include/cut/blif.h

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,17 @@ namespace ord {
1717
class OpenRoad;
1818
} // namespace ord
1919

20-
namespace utl {
21-
class Logger;
22-
}
23-
2420
namespace sta {
2521
class dbSta;
2622
class Pin;
2723
} // namespace sta
2824

2925
namespace cut {
30-
using utl::Logger;
3126

3227
class Blif
3328
{
3429
public:
35-
Blif(Logger* logger,
30+
Blif(utl::Logger* logger,
3631
sta::dbSta* sta,
3732
const std::string& const0_cell_,
3833
const std::string& const0_cell_port_,
@@ -51,7 +46,7 @@ class Blif
5146

5247
private:
5348
std::set<odb::dbInst*> instances_to_optimize_;
54-
Logger* logger_;
49+
utl::Logger* logger_;
5550
sta::dbSta* open_sta_ = nullptr;
5651
std::string const0_cell_;
5752
std::string const0_cell_port_;

src/cut/src/blif.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ using utl::CUT;
3030

3131
namespace cut {
3232

33-
Blif::Blif(Logger* logger,
33+
Blif::Blif(utl::Logger* logger,
3434
sta::dbSta* sta,
3535
const std::string& const0_cell,
3636
const std::string& const0_cell_port,

0 commit comments

Comments
 (0)