File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed
Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -569,13 +569,6 @@ void dbModNet::mergeModNet(dbModNet* in_modnet)
569569 for (dbModBTerm* modbterm : modbterms) {
570570 modbterm->connect (this );
571571 }
572-
573- // 2. Clear the terminals of in_modnet to avoid dangling pointers.
574- _dbModNet* _in_modnet = reinterpret_cast <_dbModNet*>(in_modnet);
575- _in_modnet->_iterms .clear ();
576- _in_modnet->_bterms .clear ();
577- _in_modnet->_moditerms .clear ();
578- _in_modnet->_modbterms .clear ();
579572}
580573
581574void dbModNet::mergeNet (dbNet* in_net)
Original file line number Diff line number Diff line change @@ -2299,11 +2299,6 @@ void dbNet::mergeNet(dbNet* in_net)
22992299 for (dbBTerm* bterm : bterms) {
23002300 bterm->connect (this );
23012301 }
2302-
2303- // 2. Clear the terminals of in_net to avoid dangling pointers.
2304- _dbNet* _in_net = reinterpret_cast <_dbNet*>(in_net);
2305- _in_net->_iterms .clear ();
2306- _in_net->_bterms .clear ();
23072302}
23082303
23092304void dbNet::markNets (std::vector<dbNet*>& nets, dbBlock* block, bool mk)
You can’t perform that action at this time.
0 commit comments