Fix a compil issue.
Fixes #6782 https://gitlab.com/kicad/code/kicad/issues/6782
This commit is contained in:
parent
5d400a9e11
commit
34fb55dc9c
|
@ -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 )
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue