From aa3a1267ea62113643b33906fa60ba542bfcfc6f Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Fri, 4 Aug 2017 17:46:18 +0200 Subject: [PATCH] Fix compil warnings --- include/class_colors_design_settings.h | 4 ++-- include/tool/tool_settings.h | 2 +- pcbnew/pcb_general_settings.h | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/class_colors_design_settings.h b/include/class_colors_design_settings.h index 633a9ba7ca..6700f7ac92 100644 --- a/include/class_colors_design_settings.h +++ b/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 diff --git a/include/tool/tool_settings.h b/include/tool/tool_settings.h index a3a5909997..59ad96f338 100644 --- a/include/tool/tool_settings.h +++ b/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. diff --git a/pcbnew/pcb_general_settings.h b/pcbnew/pcb_general_settings.h index 22e6e9c0e4..db3a2b8f92 100644 --- a/pcbnew/pcb_general_settings.h +++ b/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;