Skip to content

Commit dc528da

Browse files
committed
fix imports
Signed-off-by: LucasYuki <[email protected]>
1 parent 8a67a95 commit dc528da

File tree

6 files changed

+4
-17
lines changed

6 files changed

+4
-17
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 & 4 deletions
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
],
@@ -196,11 +196,8 @@
196196
"dbTech.h",
197197
"dbPropertyItr.h",
198198
"dbChipConn.h",
199-
"dbChipConnItr.h",
200199
"dbChipInst.h",
201-
"dbChipInstItr.h",
202200
"dbChipNet.h",
203-
"dbChipNetItr.h",
204201
"dbCommon.h",
205202
"odb/dbChipCallBackObj.h",
206203
"odb/dbObject.h",

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.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,8 @@
1010
#include "dbBlock.h"
1111
#include "dbBlockItr.h"
1212
#include "dbChipConn.h"
13-
#include "dbChipConnItr.h"
1413
#include "dbChipInst.h"
15-
#include "dbChipInstItr.h"
1614
#include "dbChipNet.h"
17-
#include "dbChipNetItr.h"
1815
#include "dbChipRegion.h"
1916
#include "dbCommon.h"
2017
#include "dbDatabase.h"

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
@@ -479,8 +479,7 @@ std::set<dbMarkerCategory*> dbMarkerCategory::fromJSON(dbChip* chip,
479479
logger->error(utl::ODB, 31, "Unable to open marker report: {}", path);
480480
}
481481

482-
std::set<dbMarkerCategory*> categories
483-
= fromJSON(chip, path.c_str(), report);
482+
std::set<dbMarkerCategory*> categories = fromJSON(chip, path.c_str(), report);
484483

485484
report.close();
486485

0 commit comments

Comments
 (0)