Do not put semicolons after the definition of an inline function.
Even though most compilers just ignore this, it's just wrong and if you do get warnings about header files, they can become quite overwhelming. Forward port of r70163. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -107,15 +107,15 @@ private:
|
||||
m_strPath; // the rest of the path (no trailing '_'!)
|
||||
// Virtual function hiding
|
||||
virtual bool Read(const wxString& key, bool* val) const
|
||||
{ return(wxConfigBase::Read(key, val));};
|
||||
{ return(wxConfigBase::Read(key, val));}
|
||||
virtual bool Read(const wxString& key, bool* val, bool defVal) const
|
||||
{ return(wxConfigBase::Read(key, val, defVal));};
|
||||
{ return(wxConfigBase::Read(key, val, defVal));}
|
||||
virtual bool Write(const wxString& key, double value)
|
||||
{ return(wxConfigBase::Write(key, value));};
|
||||
{ return(wxConfigBase::Write(key, value));}
|
||||
virtual bool Write(const wxString& key, bool value)
|
||||
{ return(wxConfigBase::Write(key, value));};
|
||||
{ return(wxConfigBase::Write(key, value));}
|
||||
virtual bool Write(const wxString& key, const char* value)
|
||||
{ return(wxConfigBase::Write(key, value));};
|
||||
{ return(wxConfigBase::Write(key, value));}
|
||||
};
|
||||
|
||||
#endif //_INICONF_H
|
||||
|
Reference in New Issue
Block a user