fix virtual function hiding warnings introduced to changing wxSockAddress argument of Connect() to be passed by const reference

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-10-20 08:59:45 +00:00
parent 419875a6f5
commit ddc7f0c975
5 changed files with 6 additions and 5 deletions

View File

@@ -107,7 +107,7 @@ wxFTP::~wxFTP()
// wxFTP connect and login methods
// ----------------------------------------------------------------------------
bool wxFTP::Connect(wxSockAddress& addr, bool WXUNUSED(wait))
bool wxFTP::Connect(const wxSockAddress& addr, bool WXUNUSED(wait))
{
if ( !wxProtocol::Connect(addr) )
{