Remove some dead code

This commit is contained in:
Marvin Schmidt 2017-11-02 21:36:52 +01:00
parent 7daaa3e9d9
commit a155a5c780
2 changed files with 0 additions and 11 deletions

View File

@ -40,13 +40,6 @@
const wxString traceFindItem = wxT( "KICAD_TRACE_FIND_ITEM" ); const wxString traceFindItem = wxT( "KICAD_TRACE_FIND_ITEM" );
bool sort_schematic_items( const SCH_ITEM* aItem1, const SCH_ITEM* aItem2 )
{
return *aItem1 < *aItem2;
}
/* Constructor and destructor for SCH_ITEM */ /* Constructor and destructor for SCH_ITEM */
/* They are not inline because this creates problems with gcc at linking time /* They are not inline because this creates problems with gcc at linking time
* in debug mode * in debug mode

View File

@ -427,8 +427,4 @@ private:
virtual bool doIsConnected( const wxPoint& aPosition ) const { return false; } virtual bool doIsConnected( const wxPoint& aPosition ) const { return false; }
}; };
extern bool sort_schematic_items( const SCH_ITEM* aItem1, const SCH_ITEM* aItem2 );
#endif /* SCH_ITEM_STRUCT_H */ #endif /* SCH_ITEM_STRUCT_H */