Fix compil warnings

This commit is contained in:
jean-pierre charras 2017-08-04 17:46:18 +02:00
parent 32185ddcd3
commit aa3a1267ea
3 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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.

View File

@ -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;