diff --git a/src/dbSta/src/dbNetwork.cc b/src/dbSta/src/dbNetwork.cc index 546c37e8081..84a11fc3df5 100644 --- a/src/dbSta/src/dbNetwork.cc +++ b/src/dbSta/src/dbNetwork.cc @@ -704,8 +704,8 @@ class dbModulePortIterator : public CellPortIterator public: explicit dbModulePortIterator(const dbModule* cell); ~dbModulePortIterator() override; - virtual bool hasNext(); - virtual Port* next(); + virtual bool hasNext() override; + virtual Port* next() override; private: const dbModBTerm* iter_; @@ -2462,7 +2462,7 @@ class DbNetworkPortMemberIterator : public PortMemberIterator { public: explicit DbNetworkPortMemberIterator(const Port* port, const dbNetwork* nwk); - ~DbNetworkPortMemberIterator(); + ~DbNetworkPortMemberIterator() = default; virtual bool hasNext(); virtual Port* next(); @@ -2497,10 +2497,6 @@ DbNetworkPortMemberIterator::DbNetworkPortMemberIterator(const Port* port, } } -DbNetworkPortMemberIterator::~DbNetworkPortMemberIterator() -{ -} - bool DbNetworkPortMemberIterator::hasNext() { ix_++;