From 883d0286a6d37e4657f42be3de1b64ce6fc29818 Mon Sep 17 00:00:00 2001 From: Felipe Garay Date: Wed, 22 Nov 2023 14:07:37 -0800 Subject: [PATCH] odb: Updating DFT generated strutures to use default destructor Signed-off-by: Felipe Garay --- src/odb/src/db/dbScanChain.cpp | 4 ---- src/odb/src/db/dbScanChain.h | 3 ++- src/odb/src/db/dbScanInst.cpp | 4 ---- src/odb/src/db/dbScanInst.h | 3 ++- src/odb/src/db/dbScanPartition.cpp | 4 ---- src/odb/src/db/dbScanPartition.h | 3 ++- src/odb/src/db/dbScanPin.cpp | 4 ---- src/odb/src/db/dbScanPin.h | 3 ++- 8 files changed, 8 insertions(+), 20 deletions(-) diff --git a/src/odb/src/db/dbScanChain.cpp b/src/odb/src/db/dbScanChain.cpp index b52ae8e8935..8183169ea19 100644 --- a/src/odb/src/db/dbScanChain.cpp +++ b/src/odb/src/db/dbScanChain.cpp @@ -148,10 +148,6 @@ dbOStream& operator<<(dbOStream& stream, const _dbScanChain& obj) return stream; } -_dbScanChain::~_dbScanChain() -{ -} - //////////////////////////////////////////////////////////////////// // // dbScanChain - Methods diff --git a/src/odb/src/db/dbScanChain.h b/src/odb/src/db/dbScanChain.h index 9a9a70f5b5a..1ec67105140 100644 --- a/src/odb/src/db/dbScanChain.h +++ b/src/odb/src/db/dbScanChain.h @@ -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); } diff --git a/src/odb/src/db/dbScanInst.cpp b/src/odb/src/db/dbScanInst.cpp index ea73649ccdd..8f9acf5b1c3 100644 --- a/src/odb/src/db/dbScanInst.cpp +++ b/src/odb/src/db/dbScanInst.cpp @@ -110,10 +110,6 @@ dbOStream& operator<<(dbOStream& stream, const _dbScanInst& obj) return stream; } -_dbScanInst::~_dbScanInst() -{ -} - //////////////////////////////////////////////////////////////////// // // dbScanInst - Methods diff --git a/src/odb/src/db/dbScanInst.h b/src/odb/src/db/dbScanInst.h index bca1a7f8b6e..1fe94580dcd 100644 --- a/src/odb/src/db/dbScanInst.h +++ b/src/odb/src/db/dbScanInst.h @@ -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); } diff --git a/src/odb/src/db/dbScanPartition.cpp b/src/odb/src/db/dbScanPartition.cpp index 0f0b7fb1277..e455e60054c 100644 --- a/src/odb/src/db/dbScanPartition.cpp +++ b/src/odb/src/db/dbScanPartition.cpp @@ -110,10 +110,6 @@ dbOStream& operator<<(dbOStream& stream, const _dbScanPartition& obj) return stream; } -_dbScanPartition::~_dbScanPartition() -{ -} - //////////////////////////////////////////////////////////////////// // // dbScanPartition - Methods diff --git a/src/odb/src/db/dbScanPartition.h b/src/odb/src/db/dbScanPartition.h index da8c8b6449f..744bcc3e733 100644 --- a/src/odb/src/db/dbScanPartition.h +++ b/src/odb/src/db/dbScanPartition.h @@ -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 diff --git a/src/odb/src/db/dbScanPin.cpp b/src/odb/src/db/dbScanPin.cpp index baa91fa3963..bd833c66219 100644 --- a/src/odb/src/db/dbScanPin.cpp +++ b/src/odb/src/db/dbScanPin.cpp @@ -102,10 +102,6 @@ dbOStream& operator<<(dbOStream& stream, const _dbScanPin& obj) return stream; } -_dbScanPin::~_dbScanPin() -{ -} - //////////////////////////////////////////////////////////////////// // // dbScanPin - Methods diff --git a/src/odb/src/db/dbScanPin.h b/src/odb/src/db/dbScanPin.h index 2a90b41f079..64bdc13cee0 100644 --- a/src/odb/src/db/dbScanPin.h +++ b/src/odb/src/db/dbScanPin.h @@ -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); }