Skip to content

Commit 7c40684

Browse files
committed
fix imports
Signed-off-by: LucasYuki <[email protected]>
1 parent b3c4452 commit 7c40684

File tree

5 files changed

+4
-11
lines changed

5 files changed

+4
-11
lines changed

src/odb/include/odb/dbChipCallBackObj.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33

44
#pragma once
55

6-
#include <list>
7-
8-
#include "odb/odb.h"
9-
106
namespace odb {
117

128
class dbChip;

src/odb/src/codeGenerator/schema/chip/dbChip.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
"flags": ["private", "no-serial"]
184184
}
185185
],
186-
"declared_classes": ["dbPropertyItr", "_dbNameCache","dbBlockItr"],
186+
"declared_classes": ["dbPropertyItr", "_dbNameCache","dbBlockItr","dbChipCallBackObj"],
187187
"h_includes": [
188188
"odb/geom.h"
189189
],

src/odb/src/db/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ add_library(db
6161
dbJournal.cpp
6262
dbJournalLog.cpp
6363
dbBlockCallBackObj.cpp
64+
dbChipCallBackObj.cpp
6465
dbRegion.cpp
6566
dbRegionInstItr.cpp
6667
dbExtControl.cpp
@@ -90,7 +91,6 @@ add_library(db
9091
dbChip.cpp
9192
dbChipBump.cpp
9293
dbChipBumpInst.cpp
93-
dbChipCallBackObj.cpp
9494
dbChipConn.cpp
9595
dbChipInst.cpp
9696
dbChipNet.cpp

src/odb/src/db/dbChip.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class _dbDatabase;
2222
class dbPropertyItr;
2323
class _dbNameCache;
2424
class dbBlockItr;
25+
class dbChipCallBackObj;
2526
class _dbProperty;
2627
class _dbChipRegion;
2728
class _dbMarkerCategory;
@@ -30,9 +31,6 @@ class _dbChipInst;
3031
class _dbChipConn;
3132
class _dbChipNet;
3233
class _dbTech;
33-
// User Code Begin Classes
34-
class dbChipCallBackObj;
35-
// User Code End Classes
3634

3735
class _dbChip : public _dbObject
3836
{

src/odb/src/db/dbMarkerCategory.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,8 +482,7 @@ std::set<dbMarkerCategory*> dbMarkerCategory::fromJSON(dbChip* chip,
482482
logger->error(utl::ODB, 31, "Unable to open marker report: {}", path);
483483
}
484484

485-
std::set<dbMarkerCategory*> categories
486-
= fromJSON(chip, path.c_str(), report);
485+
std::set<dbMarkerCategory*> categories = fromJSON(chip, path.c_str(), report);
487486

488487
report.close();
489488

0 commit comments

Comments
 (0)