Browse Source

Fix compil warnings

pull/7/merge
jean-pierre charras 8 years ago
parent
commit
aa3a1267ea
  1. 4
      include/class_colors_design_settings.h
  2. 2
      include/tool/tool_settings.h
  3. 6
      pcbnew/pcb_general_settings.h

4
include/class_colors_design_settings.h

@ -55,8 +55,8 @@ public:
public:
COLORS_DESIGN_SETTINGS();
virtual void Load( wxConfigBase *aConfig );
virtual void Save( wxConfigBase *aConfig );
virtual void Load( wxConfigBase *aConfig ) override;
virtual void Save( wxConfigBase *aConfig ) override;
/**
* Function GetLayerColor
* @return the color for aLayer which is one of the layer indices given

2
include/tool/tool_settings.h

@ -67,7 +67,7 @@ class TOOL_SETTINGS : public SETTINGS
}
private:
wxString getKeyName( const wxString& aEntryName ) const;
wxString getKeyName( const wxString& aEntryName ) const override;
///> Returns pointer to currently used wxConfigBase. It might be NULL, if there is no
///> TOOL_BASE assigned.

6
pcbnew/pcb_general_settings.h

@ -20,7 +20,7 @@
* or you may write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __PCBNEW_GENERAL_SETTINGS_H
#define __PCBNEW_GENERAL_SETTINGS_H
@ -41,8 +41,8 @@ class PCB_GENERAL_SETTINGS : public SETTINGS
public:
PCB_GENERAL_SETTINGS();
void Load ( wxConfigBase* aCfg );
void Save( wxConfigBase* aCfg );
void Load ( wxConfigBase* aCfg ) override;
void Save( wxConfigBase* aCfg ) override;
COLORS_DESIGN_SETTINGS m_colorsSettings;

Loading…
Cancel
Save