Skip to content

Commit a30fae4

Browse files
committed
Fixed lint issue
Signed-off-by: Jaehyun Kim <[email protected]>
1 parent 10ccc6e commit a30fae4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/dbSta/test/cpp/TestDbSta.cc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <cstdio>
66
#include <string>
77

8+
#include "db_sta/dbNetwork.hh"
89
#include "gtest/gtest.h"
910
#include "odb/db.h"
1011
#include "sta/NetworkClass.hh"
@@ -61,18 +62,18 @@ TEST_F(TestDbSta, TestHierarchyConnectivity)
6162
ASSERT_TRUE(bool_return);
6263

6364
// Check Network::highestNetAbove(Net* net)
64-
dbNet* dbnet_out2 = block_->findNet("out2");
65+
odb::dbNet* dbnet_out2 = block_->findNet("out2");
6566
ASSERT_NE(dbnet_out2, nullptr);
6667
Net* sta_dbnet_out2 = db_network_->dbToSta(dbnet_out2);
6768
ASSERT_NE(sta_dbnet_out2, nullptr);
6869
Net* sta_highest_net = db_network_->highestNetAbove(sta_dbnet_out2);
6970
ASSERT_EQ(sta_highest_net, sta_dbnet_out2);
7071

71-
dbModNet* modnet_mod_out = block_->findModNet("sub_inst/mod_out");
72+
odb::dbModNet* modnet_mod_out = block_->findModNet("sub_inst/mod_out");
7273
ASSERT_NE(modnet_mod_out, nullptr);
7374
Net* sta_modnet_mod_out = db_network_->dbToSta(modnet_mod_out);
7475
ASSERT_NE(sta_modnet_mod_out, nullptr);
75-
dbModNet* modnet_out2 = block_->findModNet("out2");
76+
odb::dbModNet* modnet_out2 = block_->findModNet("out2");
7677
ASSERT_NE(modnet_out2, nullptr);
7778
Net* sta_modnet_out2 = db_network_->dbToSta(modnet_out2);
7879
ASSERT_NE(sta_modnet_out2, nullptr);
@@ -90,7 +91,7 @@ TEST_F(TestDbSta, TestHierarchyConnectivity)
9091
}
9192

9293
// Check dbBTerm::getITerm()
93-
dbBTerm* bterm_clk = block_->findBTerm("in1");
94+
odb::dbBTerm* bterm_clk = block_->findBTerm("in1");
9495
ASSERT_NE(bterm_clk, nullptr);
9596
// There is no related dbITerm for a dbBTerm
9697
ASSERT_EQ(bterm_clk->getITerm(), nullptr);

0 commit comments

Comments
 (0)