More about code cleaning.

Remove useless includes and dead code
This commit is contained in:
jean-pierre charras 2019-12-31 13:08:50 +01:00
parent 8d649b5351
commit 3543de039b
2 changed files with 0 additions and 23 deletions

View File

@ -27,7 +27,6 @@
#include <cstdarg>
#include <layers_id_colors_and_visibility.h>
#include <class_board.h>
LSET::LSET( const PCB_LAYER_ID* aArray, unsigned aCount ) :

View File

@ -287,28 +287,6 @@ public:
return wxT( "GERBER_DRAW_ITEM" );
}
/**
* Function UnLink
* detaches this object from its owner.
*/
void UnLink()
{
DLIST<GERBER_DRAW_ITEM>* list = (DLIST<GERBER_DRAW_ITEM>*) GetList();
wxASSERT( list );
if( list )
list->Remove( this );
}
/**
* Function DeleteStructure
* deletes this object after UnLink()ing it from its owner.
*/
void DeleteStructure()
{
UnLink();
delete this;
}
#if defined(DEBUG)
void Show( int nestLevel, std::ostream& os ) const override;
#endif