Remove unused NETINFO_MAPPING member
The legacy plugin no longer implements saving, so no net code renumbering is needed.
This commit is contained in:
parent
cda9650380
commit
810a717e4e
|
@ -3373,8 +3373,7 @@ LEGACY_PLUGIN::LEGACY_PLUGIN() :
|
|||
m_props( nullptr ),
|
||||
m_reader( nullptr ),
|
||||
m_fp( nullptr ),
|
||||
m_cache( nullptr ),
|
||||
m_mapping( new NETINFO_MAPPING() )
|
||||
m_cache( nullptr )
|
||||
{
|
||||
init( NULL );
|
||||
}
|
||||
|
@ -3383,5 +3382,4 @@ LEGACY_PLUGIN::LEGACY_PLUGIN() :
|
|||
LEGACY_PLUGIN::~LEGACY_PLUGIN()
|
||||
{
|
||||
delete m_cache;
|
||||
delete m_mapping;
|
||||
}
|
||||
|
|
|
@ -46,7 +46,6 @@ class NETCLASSES;
|
|||
class ZONE;
|
||||
class DIMENSION_BASE;
|
||||
class NETINFO_ITEM;
|
||||
class NETINFO_MAPPING;
|
||||
class FP_TEXT;
|
||||
class TRACK;
|
||||
class PAD;
|
||||
|
@ -191,8 +190,6 @@ protected:
|
|||
LP_CACHE* m_cache;
|
||||
bool m_showLegacyZoneWarning;
|
||||
|
||||
NETINFO_MAPPING* m_mapping; ///< mapping for net codes, so only not empty nets
|
||||
///< are stored with consecutive integers as net codes
|
||||
std::vector<int> m_netCodes; ///< net codes mapping for boards being loaded
|
||||
|
||||
/// initialize PLUGIN like a constructor would, and futz with fresh BOARD if needed.
|
||||
|
|
Loading…
Reference in New Issue