Fix a compil issue.

Fixes #6782
https://gitlab.com/kicad/code/kicad/issues/6782
This commit is contained in:
jean-pierre charras 2020-12-18 14:17:20 +01:00
parent 5d400a9e11
commit 34fb55dc9c
2 changed files with 2 additions and 2 deletions

View File

@ -907,7 +907,7 @@ void HPGL_PLOTTER::sortItems( std::list<HPGL_ITEM>& items )
items.splice( items.begin(), target );
}
wxString HPGL_PLOTTER::lineTypeCommand( PLOT_DASH_TYPE linetype )
const char* HPGL_PLOTTER::lineTypeCommand( PLOT_DASH_TYPE linetype )
{
switch( linetype )
{

View File

@ -177,7 +177,7 @@ protected:
static void sortItems( std::list<HPGL_ITEM>& items );
/// Return the plot command corresponding to a line type
static wxString lineTypeCommand( PLOT_DASH_TYPE linetype );
static const char* lineTypeCommand( PLOT_DASH_TYPE linetype );
std::list<HPGL_ITEM> m_items;
HPGL_ITEM* m_current_item;