Skip to content

Commit

Permalink
odb: Updating DFT generated strutures to use default destructor
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Garay <[email protected]>
  • Loading branch information
fgaray committed Dec 1, 2023
1 parent 08fa7ad commit 883d028
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 20 deletions.
4 changes: 0 additions & 4 deletions src/odb/src/db/dbScanChain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,6 @@ dbOStream& operator<<(dbOStream& stream, const _dbScanChain& obj)
return stream;
}

_dbScanChain::~_dbScanChain()
{
}

////////////////////////////////////////////////////////////////////
//
// dbScanChain - Methods
Expand Down
3 changes: 2 additions & 1 deletion src/odb/src/db/dbScanChain.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ class _dbScanChain : public _dbObject
public:
_dbScanChain(_dbDatabase*, const _dbScanChain& r);
_dbScanChain(_dbDatabase*);
~_dbScanChain();

~_dbScanChain() = default;

bool operator==(const _dbScanChain& rhs) const;
bool operator!=(const _dbScanChain& rhs) const { return !operator==(rhs); }
Expand Down
4 changes: 0 additions & 4 deletions src/odb/src/db/dbScanInst.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,6 @@ dbOStream& operator<<(dbOStream& stream, const _dbScanInst& obj)
return stream;
}

_dbScanInst::~_dbScanInst()
{
}

////////////////////////////////////////////////////////////////////
//
// dbScanInst - Methods
Expand Down
3 changes: 2 additions & 1 deletion src/odb/src/db/dbScanInst.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ class _dbScanInst : public _dbObject
public:
_dbScanInst(_dbDatabase*, const _dbScanInst& r);
_dbScanInst(_dbDatabase*);
~_dbScanInst();

~_dbScanInst() = default;

bool operator==(const _dbScanInst& rhs) const;
bool operator!=(const _dbScanInst& rhs) const { return !operator==(rhs); }
Expand Down
4 changes: 0 additions & 4 deletions src/odb/src/db/dbScanPartition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,6 @@ dbOStream& operator<<(dbOStream& stream, const _dbScanPartition& obj)
return stream;
}

_dbScanPartition::~_dbScanPartition()
{
}

////////////////////////////////////////////////////////////////////
//
// dbScanPartition - Methods
Expand Down
3 changes: 2 additions & 1 deletion src/odb/src/db/dbScanPartition.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ class _dbScanPartition : public _dbObject
public:
_dbScanPartition(_dbDatabase*, const _dbScanPartition& r);
_dbScanPartition(_dbDatabase*);
~_dbScanPartition();

~_dbScanPartition() = default;

bool operator==(const _dbScanPartition& rhs) const;
bool operator!=(const _dbScanPartition& rhs) const
Expand Down
4 changes: 0 additions & 4 deletions src/odb/src/db/dbScanPin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,6 @@ dbOStream& operator<<(dbOStream& stream, const _dbScanPin& obj)
return stream;
}

_dbScanPin::~_dbScanPin()
{
}

////////////////////////////////////////////////////////////////////
//
// dbScanPin - Methods
Expand Down
3 changes: 2 additions & 1 deletion src/odb/src/db/dbScanPin.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ class _dbScanPin : public _dbObject
public:
_dbScanPin(_dbDatabase*, const _dbScanPin& r);
_dbScanPin(_dbDatabase*);
~_dbScanPin();

~_dbScanPin() = default;

bool operator==(const _dbScanPin& rhs) const;
bool operator!=(const _dbScanPin& rhs) const { return !operator==(rhs); }
Expand Down

0 comments on commit 883d028

Please sign in to comment.